Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
bash completion: Support "divergence from upstream" messages in __git_ps1
[gitweb.git]
/
git-svn.perl
diff --git
a/git-svn.perl
b/git-svn.perl
index b3b6964f95976ba885a277de9d463a2443dd3147..09c4ca56f0c9af9c6ff49d3b3a197a8e30602520 100755
(executable)
--- a/
git-svn.perl
+++ b/
git-svn.perl
@@
-2836,8
+2836,9
@@
sub mkemptydirs {
foreach my $d (sort keys %empty_dirs) {
$d = uri_decode($d);
$d =~ s/$strip//;
+ next unless length($d);
next if -d $d;
- if (-e
_
) {
+ if (-e
$d
) {
warn "$d exists but is not a directory\n";
} else {
print "creating empty directory: $d\n";