post-update learns to be quieter
apparently people run it from cron, so this causes a silly one-line email saying just "Already on master" thanks to shruggar on #git for pointing out to me that it is quite safe to use --quiet and will not lose any actual error messages :)
This commit is contained in:
parent
1fce051ea1
commit
76ae0268fa
|
@ -15,7 +15,7 @@ GIT_WORK_TREE=$GL_ADMINDIR git ls-tree --name-only master |
|
|||
|
||||
# checkout the master branch to $GL_ADMINDIR
|
||||
# (the GL_ADMINDIR env var would have been set by gl-auth-command)
|
||||
GIT_WORK_TREE=$GL_ADMINDIR git checkout -f master
|
||||
GIT_WORK_TREE=$GL_ADMINDIR git checkout -f --quiet master
|
||||
|
||||
od=$PWD
|
||||
cd $GL_ADMINDIR
|
||||
|
|
Loading…
Reference in a new issue