mirror of
https://github.com/git/git
synced 2024-10-30 14:03:28 +00:00
Merge branch 'gfi-maint' into maint
* gfi-maint: Properly handle '0' filenames in import-tars
This commit is contained in:
commit
da774e8272
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
|||
$prefix) = unpack 'Z100 Z8 Z8 Z8 Z12 Z12
|
||||
Z8 Z1 Z100 Z6
|
||||
Z2 Z32 Z32 Z8 Z8 Z*', $_;
|
||||
last unless $name;
|
||||
last unless length($name);
|
||||
if ($name eq '././@LongLink') {
|
||||
# GNU tar extension
|
||||
if (read(I, $_, 512) != 512) {
|
||||
|
|
Loading…
Reference in a new issue