Commits

Anonymous committed ffcc952 Merge

Merge branch 'maint'

* maint:
Fix documentation of tag in git-fast-import.txt
Properly handle '0' filenames in import-tars

  • Participants
  • Parent commits 63fcbe0, a9d9a1b

Comments (0)

Files changed (1)

File contrib/fast-import/import-tars.perl

 			$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) {