about summary refs log tree commit diff
path: root/third_party/git/contrib/fast-import
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/contrib/fast-import')
-rwxr-xr-xthird_party/git/contrib/fast-import/import-tars.perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/git/contrib/fast-import/import-tars.perl b/third_party/git/contrib/fast-import/import-tars.perl
index e800d9f5c9cf..d50ce26d5d9f 100755
--- a/third_party/git/contrib/fast-import/import-tars.perl
+++ b/third_party/git/contrib/fast-import/import-tars.perl
@@ -139,6 +139,8 @@ foreach my $tar_file (@ARGV)
 			print FI "\n";
 		}
 
+		next if ($typeflag eq 'g'); # ignore global header
+
 		my $path;
 		if ($prefix) {
 			$path = "$prefix/$name";