The branch, master has been updated via 02593571f4d0448d24024d62c73cb022f36c2078 (commit) via def1b959efa2e14bb2d27cd71a1d01d341a1d7cc (commit) from 8198049d1d02fd73e2449630c2d2153e0cad69d6 (commit)
- Log ----------------------------------------------------------------- commit 02593571f4d0448d24024d62c73cb022f36c2078 Author: Michal Čihař michal@cihar.com Date: Thu Feb 25 17:03:48 2010 +0100
Document hooks.cia-project.
commit def1b959efa2e14bb2d27cd71a1d01d341a1d7cc Author: Michal Čihař michal@cihar.com Date: Thu Feb 25 17:03:06 2010 +0100
Reintroduce CIA notifications.
-----------------------------------------------------------------------
Summary of changes: git-hooks/post-receive | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/git-hooks/post-receive b/git-hooks/post-receive index fa1c953..34dcf4b 100755 --- a/git-hooks/post-receive +++ b/git-hooks/post-receive @@ -48,6 +48,8 @@ # "t=%s; printf 'http://.../?id=%%s' $t; echo;echo; git show -C $t; echo" # Be careful if "..." contains things that will be expanded by shell "eval" # or printf. +# hooks.cia-project +# Name of CIA project to notify # # Notes # ----- @@ -678,11 +680,13 @@ if [ -n "$1" -a -n "$2" -a -n "$3" ]; then # Output to the terminal in command line mode - if someone wanted to # resend an email; they could redirect the output to sendmail # themselves - cia_project="" PAGER= generate_email $2 $3 $1 else while read oldrev newrev refname do generate_email $oldrev $newrev $refname | send_mail + if [ -n "$cia_project" ]; then + /gitrepo/p/ph/phpmyadmin/scripts/hooks/git-ciabot.pl $newrev $refname + fi done fi
hooks/post-receive