Closes:#850547.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-badcommit-fixup:
* Do not investigate symrefs. Closes:#850547.
dgit (2.17~) unstable; urgency=medium
+ dgit-badcommit-fixup:
+ * Do not investigate symrefs. Closes:#850547.
+
Test suite:
* Internal improvements.
* badcommit-rewrite: Fix operation using installed version of fixup.
next;
}
next if $refname =~ m{^refs/dgit-(?:badcommit|badfixuptest)/};
+
+ $!=0; $?=0;
+ system qw(sh -ec),
+ 'exec >/dev/null git symbolic-ref -q "$1"', qw(x),
+ $refname;
+ if ($?==0) {
+ $count{symrefs_ignored}++;
+ next;
+ }
+ die "$? $!" unless $?==256;
+
my $rewrite;
if ($type eq 'commit') {
$rewrite = rewrite_commit($obj);