Commit:    800c7b1ca0f85c36a3f7d920391edf68bdae6763
Author:    David Soria Parra <d...@php.net>         Fri, 21 Sep 2012 04:00:02 
+0200
Parents:   8aae7e02344616d162d44aa6e8829a374f0ed3e4
Branches:  master

Link:       
http://git.php.net/?p=karma.git;a=commitdiff;h=800c7b1ca0f85c36a3f7d920391edf68bdae6763

Log:
Include target in mirror message

Changed paths:
  M  hooks/post-receive.mirror


Diff:
diff --git a/hooks/post-receive.mirror b/hooks/post-receive.mirror
index 128c584..ae4ad96 100755
--- a/hooks/post-receive.mirror
+++ b/hooks/post-receive.mirror
@@ -9,7 +9,6 @@
 target=`git config --get gitolite.mirror.simple`
 [ -z "$target" ] && exit 0
 
-echo "Attempting to push to mirror"
 
 if $(echo $target | grep -q "REPO");
 then
@@ -18,6 +17,7 @@ then
        target=$(echo $target | sed -e "s,REPO,$GL_REPO,g")
 fi
 
+echo "Attempting to push to mirror $target"
 # Do the mirror push
 git push --mirror $target


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to