chiark / gitweb /
git-debrebase: Change exit status for patch amendments, to 7
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 21:52:06 +0000 (22:52 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 22:25:50 +0000 (23:25 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index 3cab3ad..111bb1f 100755 (executable)
@@ -1516,9 +1516,11 @@ sub cmd_make_patches () {
        snags_maybe_bail();
        update_head_checkout $old_head, $new, 'make-patches';
     } else {
-       fail "Patch export produced patch amendments".
+       print STDERR failmsg
+           "Patch export produced patch amendments".
            " (abandoned output commit $new).".
            "  Try laundering first.";
+       finish 7;
     }
 }