summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-05-10 21:47:14 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-10 21:47:14 (GMT)
commita9d9a1bfdddd5f177617abc943fba10f6cc68066 (patch)
tree2448ababa2d71e624050017f332a67c43d765cca
parentb722b9585518c9d75ec5d8731cb90dc0c9fb918c (diff)
parent419ca50e4c5afbf6a3f956db5531ed85f2b54bb9 (diff)
downloadgit-a9d9a1bfdddd5f177617abc943fba10f6cc68066.zip
git-a9d9a1bfdddd5f177617abc943fba10f6cc68066.tar.gz
git-a9d9a1bfdddd5f177617abc943fba10f6cc68066.tar.bz2
Merge branch 'maint' of git://repo.or.cz/git/fastimport into maint
* 'maint' of git://repo.or.cz/git/fastimport: Fix documentation of tag in git-fast-import.txt Properly handle '0' filenames in import-tars
-rwxr-xr-xcontrib/fast-import/import-tars.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/import-tars.perl b/contrib/fast-import/import-tars.perl
index e464920..f0b9a43 100755
--- a/contrib/fast-import/import-tars.perl
+++ b/contrib/fast-import/import-tars.perl
@@ -51,7 +51,7 @@ foreach my $tar_file (@ARGV)
$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) {