com karma: Include target in mirror message: hooks/post-receive.mirror
| From: | David Soria Parra | Date: | Fri, 21 Sep 2012 02:00:02 +0000 |
| Subject: | com karma: Include target in mirror message: hooks/post-receive.mirror | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70207@lists.php.net to get a copy of this message | ||
Commit: 800c7b1ca0f85c36a3f7d920391edf68bdae6763
Author: David Soria Parra <dsp@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