summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-29 10:52:43 +0200
committerJunio C Hamano <junkio@cox.net>2007-04-29 10:52:43 +0200
commit39231b1c32caee10c7ac3397341ea0c6cf56e7f9 (patch)
tree5e51fb9d639bf6b6b99ae5d01286360b7303f2f1 /contrib
parentMerge branch 'maint' (diff)
parenthttp.c: Fix problem with repeated calls of http_init (diff)
downloadgit-39231b1c32caee10c7ac3397341ea0c6cf56e7f9.tar.xz
git-39231b1c32caee10c7ac3397341ea0c6cf56e7f9.zip
Merge branch 'maint'
* maint: http.c: Fix problem with repeated calls of http_init Add missing reference to GIT_COMMITTER_DATE in git-commit-tree documentation Fix import-tars fix. Update .mailmap with "Michael" Do not barf on too long action description Catch empty pathnames in trees during fsck Don't allow empty pathnames in fast-import import-tars: be nice to wrong directory modes git-svn: Added 'find-rev' command git shortlog documentation: add long options and fix a typo
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/fast-import/import-tars.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fast-import/import-tars.perl b/contrib/fast-import/import-tars.perl
index 184214689d..d2363a415d 100755
--- a/contrib/fast-import/import-tars.perl
+++ b/contrib/fast-import/import-tars.perl
@@ -52,6 +52,7 @@ foreach my $tar_file (@ARGV)
Z8 Z1 Z100 Z6
Z2 Z32 Z32 Z8 Z8 Z*', $_;
last unless $name;
+ next if $name =~ m{/\z};
$mode = oct $mode;
$size = oct $size;
$mtime = oct $mtime;