chiark / gitweb /
git-debrebase: keycommits abolish use of last etc.
[dgit.git] / git-debrebase
index c0600126ba5df7701c6823330bd6d030c2ddec4f..9a356df399f574da0c79bcb338e066f2b6708c61 100755 (executable)
@@ -604,10 +604,7 @@ sub keycommits ($;$$$) {
        } elsif ($ty eq 'DgitImportUnpatched') {
            $x->($trouble, 'dgitimport',
                 "found dgit dsc import ($head)");
-           $breakwater = undef;
-           $anchor = undef;
-           no warnings qw(exiting);
-           last;
+           return (undef,undef);
        } else {
            fail "found unprocessable commit, cannot cope: $head; $cl->{Why}";
        }