[sysadmin-bin] Send out notifications for all the refs except the wip/* ones.



commit a5281d38bc426bcf8ebbaa2778b6e88332784c00
Author: Andrea Veri <av gnome org>
Date:   Tue Aug 13 18:36:47 2013 +0200

    Send out notifications for all the refs except the wip/* ones.

 git/post-receive-notify-kgb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/git/post-receive-notify-kgb b/git/post-receive-notify-kgb
index 0c0f215..2867014 100755
--- a/git/post-receive-notify-kgb
+++ b/git/post-receive-notify-kgb
@@ -5,4 +5,4 @@
 REPOSITORY_ID=$(basename "$PWD")
 REPOSITORY_ID=${REPOSITORY_ID%.git}
 
-grep refs/heads/master | kgb-client --conf /home/admin/KGB/kgb-client-$REPOSITORY_ID.conf --repository git 
--git-reflog - > /dev/null 2>&1
+grep -r --exclude="wip/*" refs/heads/ | kgb-client --conf /home/admin/KGB/kgb-client-$REPOSITORY_ID.conf 
--repository git --git-reflog - > /dev/null 2>&1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]