summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $!;