This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository pkg-perl-tools.

commit f382969acf212c64aae2a4d5b6303b97bd0fefd6
Author: Damyan Ivanov <d...@debian.org>
Date:   Sun Jun 14 10:45:49 2015 +0000

    dpt push: add '|| exit $?' to the 'git push' call, keeping any error exit 
code
    
    POD=<<EOF masks the previous exit code
    
    Closes: #764825 -- dpt push exits successfully on failures, again
    
    Thanks to Niko Tyni
---
 scripts/push | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/push b/scripts/push
index 566796c..ae96170 100755
--- a/scripts/push
+++ b/scripts/push
@@ -55,7 +55,8 @@ for r in $(get_from_gbp upstream branch) pristine-tar 
refs/notes/commits; do
 done
 git push origin $REFS \
     $(git tag|grep -E "$(get_from_gbp debian tag)|$(get_from_gbp upstream 
tag)") \
-    "$@"
+    "$@" \
+    || exit $?
 
 POD=<<'EOF'
 =head1 NAME

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to