diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-06 20:23:30 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-06 20:23:30 +0000 |
commit | 0755bc4840ed72bf4f7aa5595be92f88cb655559 (patch) | |
tree | 223ffeb8ad19dad00c2fa2dc1fd2de3b285462ca /dgit-badcommit-fixup | |
parent | ec7cf6aaf2fce8af943ccdd866e98f805f8a98fe (diff) |
dgit-badcommit-fixup: Skip our own output refs
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit-badcommit-fixup')
-rwxr-xr-x | dgit-badcommit-fixup | 1 |
1 files changed, 1 insertions, 0 deletions
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); |