Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
import-tars: be nice to wrong directory modes
[gitweb.git]
/
contrib
/
fast-import
/
import-tars.perl
diff --git
a/contrib/fast-import/import-tars.perl
b/contrib/fast-import/import-tars.perl
index 5585a8b2c575f92e6154e03641b467e5e54509f4..e84647770abbac3090bd92d256edf23565a0bae6 100755
(executable)
--- a/
contrib/fast-import/import-tars.perl
+++ b/
contrib/fast-import/import-tars.perl
@@
-52,6
+52,7
@@
Z8 Z1 Z100 Z6
Z2 Z32 Z32 Z8 Z8 Z*', $_;
last unless $name;
+ next if $name =~ '/$';
$mode = oct $mode;
$size = oct $size;
$mtime = oct $mtime;