chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ae14e4d
)
badcommit-fixup: remove some debug
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 5 Jan 2017 19:26:37 +0000
(19:26 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 5 Jan 2017 19:26:37 +0000
(19:26 +0000)
badcommit-fixup
patch
|
blob
|
history
diff --git
a/badcommit-fixup
b/badcommit-fixup
index b1268f5b5671c88a6d46e751a12b9a9d9f963844..4573121076bac4ee3b094d9a0b04b9d7fa3e2605 100755
(executable)
--- 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 $!;