[sysadmin-bin] Use the -v flag to filter the wip/ branch out of the notifications.



commit 67398d51796e7d03b301fee8f61b68a780887c59
Author: Andrea Veri <av gnome org>
Date:   Thu Aug 15 14:36:54 2013 +0200

    Use the -v flag to filter the wip/ branch out of the notifications.

 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 d7411d8..bc034c0 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 -r --exclude-dir=refs/heads/wip/* refs/heads/* | kgb-client --conf 
/home/admin/KGB/kgb-client-$REPOSITORY_ID.conf --repository git --git-reflog - > /dev/null 2>&1
+grep -v refs/heads/wip | 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]