From 7a3361bb3c0dab34d001bcda1c56ec42aec6e8b3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 7 Jan 2017 13:23:28 +0000 Subject: dgit-badcommit-fixup: Fix crash when running for 2nd time in bare repo. Signed-off-by: Ian Jackson --- dgit-badcommit-fixup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dgit-badcommit-fixup') diff --git a/dgit-badcommit-fixup b/dgit-badcommit-fixup index a9a8f60..935f5df 100755 --- 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; -- cgit v1.2.3