git ops: add quiet switch for git push pull operations.
This commit is contained in:
parent
c93b4f6585
commit
4287f264f7
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
function fetchUpstreamMaster ()
|
||||
{
|
||||
echo shell_exec ("/usr/bin/git -C ../registry/ pull upstream master:master 2>&1");
|
||||
echo shell_exec ("/usr/bin/git -C ../registry/ pull upstream master:master --quiet 2>&1");
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -19,7 +19,7 @@ function fetchUpstreamMaster ()
|
|||
*/
|
||||
function checkoutMaster ()
|
||||
{
|
||||
echo shell_exec ("/usr/bin/git -C ../registry/ o master 2>&1");
|
||||
echo shell_exec ("/usr/bin/git -C ../registry/ o master --quiet 2>&1");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
ISO_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
||||
|
||||
# Commit latest version of ROA files
|
||||
git add roa/*
|
||||
git commit roa/* -m "Updated ROA files - $ISO_DATE"
|
||||
git add roa/* --quiet
|
||||
git commit roa/* -m "Updated ROA files - $ISO_DATE" --quiet
|
||||
|
||||
# Push repository to every remote configured
|
||||
for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do git push $REMOTE master:master ; done
|
||||
for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do git push $REMOTE master:master --quiet ; done
|
||||
|
|
Loading…
Reference in a new issue