gitweb: Fix error in git_patchset_body for deletion in merge commit
[gitweb.git] / git-applymbox.sh
index 2cbdc7eb3cc1c9843bd8877b39a194e677272260..c18e80ff8cd5a66a64e22cf96e77fad519d33b5d 100755 (executable)
@@ -77,9 +77,9 @@ do
     *)
            git-mailinfo $keep_subject $utf8 \
                .dotest/msg .dotest/patch <$i >.dotest/info || exit 1
-           test -s $dotest/patch || {
-               echo "Patch is empty.  Was is split wrong?"
-               stop_here $this
+           test -s .dotest/patch || {
+               echo "Patch is empty.  Was it split wrong?"
+               exit 1
            }
            git-stripspace < .dotest/msg > .dotest/msg-clean
            ;;