Merge branch 'js/import-tars-do-not-make-phony-files-from-pax-headers'
The import-tars importer (in contrib/fast-import/) used to create phony files at the top-level of the repository when the archive contains global PAX headers, which made its own logic to detect and omit the common leading directory ineffective, which has been corrected. * js/import-tars-do-not-make-phony-files-from-pax-headers: import-tars: ignore the global PAX header
This commit is contained in:
commit
8633f213e6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user