summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-06-16 20:40:31 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-06-16 22:40:14 +0100
commitd0f938a6ab692ed24009b2f1c101e6e91a242b7d (patch)
treebf905b9ac197f7b6676166e663d23f9668b68272
parentbfbcc503e9a18643f664f74940ab9d8ed65ddb30 (diff)
git-debrebase: keycommits abolish use of last etc.
Previously, presumably, this little fragment was within an anonymous sub. Now it isn't any more, and we can simply return. No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xgit-debrebase5
1 files changed, 1 insertions, 4 deletions
diff --git a/git-debrebase b/git-debrebase
index c060012..9a356df 100755
--- a/git-debrebase
+++ b/git-debrebase
@@ -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}";
}