From 0755bc4840ed72bf4f7aa5595be92f88cb655559 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 6 Jan 2017 20:23:30 +0000 Subject: dgit-badcommit-fixup: Skip our own output refs Signed-off-by: Ian Jackson --- dgit-badcommit-fixup | 1 + 1 file changed, 1 insertion(+) (limited to 'dgit-badcommit-fixup') diff --git a/dgit-badcommit-fixup b/dgit-badcommit-fixup index d1bca74..a761eb3 100755 --- a/dgit-badcommit-fixup +++ b/dgit-badcommit-fixup @@ -226,6 +226,7 @@ foreach my $rline (split /\n/, $refs) { $org_rewrite_map = $obj; continue; } + next if $refname =~ m{^refs/dgit-(?:badcommit|badfixuptest)/}; my $rewrite; if ($type eq 'commit') { $rewrite = rewrite_commit($obj); -- cgit v1.2.3