Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
cvsimport: minor fixups
author
Martin Langhoff
<martin@catalyst.net.nz>
Mon, 22 May 2006 12:45:47 +0000
(
00:45
+1200)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 23 May 2006 01:12:27 +0000
(18:12 -0700)
Cleanup @skipped after it's used. Close a fhandle.
Removing suspects one at a time.
Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsimport.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(from parent 1:
f803eec
)
diff --git
a/git-cvsimport.perl
b/git-cvsimport.perl
index 8c707f2c664ccfc9cad4fca443a5dee1d75604ba..282646af3592369ffa36178d239c41e173b123f9 100755
(executable)
--- a/
git-cvsimport.perl
+++ b/
git-cvsimport.perl
@@
-650,6
+650,8
@@
($$)
"GIT_COMMITTER_DATE=".strftime("+0000 %Y-%m-%d %H:%M:%S",gmtime($date)),
"git-commit-tree", $tree,@par);
die "Cannot exec git-commit-tree: $!\n";
+
+ close OUT;
}
$pw->writer();
$pr->reader();
@@
-661,6
+663,7
@@
($$)
if (@skipped) {
$logmsg .= "\n\n\nSKIPPED:\n\t";
$logmsg .= join("\n\t", @skipped) . "\n";
+ @skipped = ();
}
print $pw "$logmsg\n"