Merge branch 'maint'
* maint: Fix documentation of tag in git-fast-import.txt Properly handle '0' filenames in import-tars
This commit is contained in:
commit
ffcc952b33
@ -51,7 +51,7 @@ foreach my $tar_file (@ARGV)
|
|||||||
$prefix) = unpack 'Z100 Z8 Z8 Z8 Z12 Z12
|
$prefix) = unpack 'Z100 Z8 Z8 Z8 Z12 Z12
|
||||||
Z8 Z1 Z100 Z6
|
Z8 Z1 Z100 Z6
|
||||||
Z2 Z32 Z32 Z8 Z8 Z*', $_;
|
Z2 Z32 Z32 Z8 Z8 Z*', $_;
|
||||||
last unless $name;
|
last unless length($name);
|
||||||
if ($name eq '././@LongLink') {
|
if ($name eq '././@LongLink') {
|
||||||
# GNU tar extension
|
# GNU tar extension
|
||||||
if (read(I, $_, 512) != 512) {
|
if (read(I, $_, 512) != 512) {
|
||||||
|
Loading…
Reference in New Issue
Block a user