chiark / gitweb /
git-debrebase: stitch: make noop actually be a no-op
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 25 Mar 2018 11:56:54 +0000 (12:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 15:07:00 +0000 (16:07 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debrebase

index 01eb0eb..55fbbd5 100755 (executable)
@@ -1210,6 +1210,7 @@ sub cmd_stitch () {
     my $prev = $ffq_prev && git_get_ref $ffq_prev;
     if (!$prev) {
        fail "No ffq-prev to stitch." unless $opt_noop_ok;
+       return;
     }
     my $old_head = get_head();