]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Reintegrate: abort the whole thing when commit is aborted
authorJunio C Hamano <gitster@pobox.com>
Wed, 8 Dec 2010 23:35:04 +0000 (15:35 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Dec 2010 23:35:04 +0000 (15:35 -0800)
Reintegrate

index 30065f21221c489eaf1332061200c9026fcc57de..2f036279264c38df5509e6875de838b230c9e8fb 100755 (executable)
@@ -54,7 +54,7 @@ no)
                        elif git show-ref -q --verify "refs/merge-fix/$branch"
                        then
                                git cherry-pick --no-commit "refs/merge-fix/$branch" &&
-                               EDITOR=: git commit --amend -a
+                               EDITOR=: git commit --amend -a || exit
                        fi
                        ;;
                pick" "*)