chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dgit-badcommit-fixup: Fix crash when running for 2nd time in bare repo.
[dgit.git]
/
dgit-badcommit-fixup
diff --git
a/dgit-badcommit-fixup
b/dgit-badcommit-fixup
index a9a8f60f88aa94d7e459e968a091f826abcd955d..935f5dff982ba6bddd21abbc5255691103a97238 100755
(executable)
--- a/
dgit-badcommit-fixup
+++ b/
dgit-badcommit-fixup
@@
-231,7
+231,7
@@
foreach my $rline (split /\n/, $refs) {
or die "$_ ?";
if ($refname eq 'refs/dgit-rewrite/map') {
$org_rewrite_map = $obj;
-
continue
;
+
next
;
}
next if $refname =~ m{^refs/dgit-(?:badcommit|badfixuptest)/};
my $rewrite;