summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-05 19:26:37 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-01-05 19:26:37 +0000
commit830c7a438b029ace08b681e0b5458bd86266315e (patch)
tree55f6d96d7b6ccf8e9233d2633fe2e8fc6dc6452f
parentae14e4da0259650f7fe857040912fe1197116ec1 (diff)
badcommit-fixup: remove some debug
-rwxr-xr-xbadcommit-fixup4
1 files changed, 1 insertions, 3 deletions
diff --git a/badcommit-fixup b/badcommit-fixup
index b1268f5..4573121 100755
--- a/badcommit-fixup
+++ b/badcommit-fixup
@@ -202,10 +202,8 @@ foreach my $rline (split /\n/, $refs) {
my $rewrite;
if ($type eq 'commit') {
$rewrite = rewrite_commit($obj);
-print STDERR "RW? $refname $obj $rewrite\n";
if ($refname =~ m{^refs/dgit/[^/]+$} &&
$rewrite ne $obj) {
-print STDERR "RW $refname\n";
$rewrite = rewrite_commit_adddummy $refname, $obj, $rewrite;
}
} elsif ($type eq 'tag') {
@@ -220,7 +218,7 @@ print STDERR "RW $refname\n";
our $worktree;
-print Dumper(\@updates);
+#print Dumper(\@updates);
open U, "|git update-ref -m 'dgit bad commit fixup' --stdin" or die $!;