[Phpmyadmin-git] [SCM] phpMyAdmin scripts branch, master, updated. 54346e4829e96ffb20ce1f6b0798510926d3ba2c
Michal Čihař
nijel at users.sourceforge.net
Wed May 11 16:15:07 CEST 2011
The branch, master has been updated
via 54346e4829e96ffb20ce1f6b0798510926d3ba2c (commit)
from e2932c42f0292cbed955817a378e5e0486d1ec82 (commit)
- Log -----------------------------------------------------------------
commit 54346e4829e96ffb20ce1f6b0798510926d3ba2c
Author: Michal Čihař <michal at cihar.com>
Date: Wed May 11 16:14:49 2011 +0200
No mail for stable/testing branches
-----------------------------------------------------------------------
Summary of changes:
git-hooks/post-receive | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/git-hooks/post-receive b/git-hooks/post-receive
index ead51fb..fa2aa3a 100755
--- a/git-hooks/post-receive
+++ b/git-hooks/post-receive
@@ -684,6 +684,10 @@ if [ -n "$1" -a -n "$2" -a -n "$3" ]; then
else
while read oldrev newrev refname
do
+ if [ $refname = STABLE -o $refname = TESTING ] ; then
+ echo "Skipped sending mail for $refname branch"
+ continue
+ fi
echo 'Sending email...'
generate_email $oldrev $newrev $refname | send_mail
echo 'CIAbot in progress...'
hooks/post-receive
--
phpMyAdmin scripts
More information about the Git
mailing list