mirror of
https://github.com/git/git.git
synced 2024-11-17 22:44:49 +01:00
Merge branch 'master' into next
* master: cvsimport: do not barf on creation of an empty file.
This commit is contained in:
commit
17cf39294a
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ sub file {
|
||||||
}
|
}
|
||||||
sub _fetchfile {
|
sub _fetchfile {
|
||||||
my ($self, $fh, $cnt) = @_;
|
my ($self, $fh, $cnt) = @_;
|
||||||
my $res;
|
my $res = 0;
|
||||||
my $bufsize = 1024 * 1024;
|
my $bufsize = 1024 * 1024;
|
||||||
while($cnt) {
|
while($cnt) {
|
||||||
if ($bufsize > $cnt) {
|
if ($bufsize > $cnt) {
|
||||||
|
|
Loading…
Reference in a new issue