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>
}
sub _fetchfile {
my ($self, $fh, $cnt) = @_;
}
sub _fetchfile {
my ($self, $fh, $cnt) = @_;
my $bufsize = 1024 * 1024;
while($cnt) {
if ($bufsize > $cnt) {
my $bufsize = 1024 * 1024;
while($cnt) {
if ($bufsize > $cnt) {