summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 405053d)
raw | patch | inline | side by side (parent: 405053d)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 23 May 2006 23:30:39 +0000 (16:30 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 23 May 2006 23:30:39 +0000 (16:30 -0700) |
When the server says "created this file whose length is empty",
we mistakenly said "oops, the server did not say a sensible
thing". Fix it.
Spotted and fixed by Linus, acked by Martin.
Signed-off-by: Junio C Hamano <junkio@cox.net>
we mistakenly said "oops, the server did not say a sensible
thing". Fix it.
Spotted and fixed by Linus, acked by Martin.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsimport.perl | patch | blob | history |
diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index 41ee9a608d762718c33594374dfa4cb3205dd4f9..60fc86a5beddd7ecf27256b3dee113c80eb8ecb8 100755 (executable)
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
}
sub _fetchfile {
my ($self, $fh, $cnt) = @_;
- my $res;
+ my $res = 0;
my $bufsize = 1024 * 1024;
while($cnt) {
if ($bufsize > $cnt) {