Reintegrate: abort the whole thing when commit is aborted

Junio C Hamano committed Dec 8, 2010 at 15:35 UTC 8a419eb2ac0f50202757f4aea217c735e6fd4b4c
1 file changed +1 -1
Reintegrate
+1 -1
@@ -54,7 +54,7 @@ no)
54 elif git show-ref -q --verify "refs/merge-fix/$branch"
55 then
56 git cherry-pick --no-commit "refs/merge-fix/$branch" &&
57 - EDITOR=: git commit --amend -a
57 + EDITOR=: git commit --amend -a || exit
58 fi
59 ;;
60 pick" "*)