aboutsummaryrefslogtreecommitdiff
path: root/toolchain-tools
diff options
context:
space:
mode:
authorMatt Hart <matthew.hart@linaro.org>2015-07-28 13:49:59 +0100
committerMatt Hart <matthew.hart@linaro.org>2015-07-28 14:02:29 +0100
commitf2aca24bccb3c19ba4e1f2179fa3ea9a8186f219 (patch)
tree2b3327a3678aa49be43451f2ddd6f23346c30d92 /toolchain-tools
parentfcf66d6939d73e6c9419fe121bb6c92e4630a8b9 (diff)
Silence the remote for toolchain-tools (new2_gcc)
As there is a push hook on this repo, the remote git server always informs us when it us sending a notification email. Thats nice but we end up getting a cron email every time this happens, containing: remote: Sending notification emails to: tcwg-commits@lists.linaro.org This attempts to silence it. Change-Id: Id99a1da528c8fff3fddebbe6be87f5a7d32033ae
Diffstat (limited to 'toolchain-tools')
-rwxr-xr-xtoolchain-tools2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain-tools b/toolchain-tools
index 971179a..74c350b 100755
--- a/toolchain-tools
+++ b/toolchain-tools
@@ -86,7 +86,7 @@ function new2_gcc() {
# Set up gitolite environment for local push
export GL_BYPASS_ACCESS_CHECKS=1
export GL_LIBDIR=~/gitolite/src/lib
- git push $QUIET --force /srv/repositories/toolchain/gcc.git 'refs/heads/*' 'refs/tags/*'
+ git push $QUIET --force /srv/repositories/toolchain/gcc.git 'refs/heads/*' 'refs/tags/*' 2>&1 | grep -v "remote: Sending notification emails to"
}
function new_gcc() {