summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-18 16:17:28 -0700
committerJunio C Hamano <junkio@cox.net>2007-04-18 16:17:28 -0700
commit6fb8e8f401a065bdffe379764871551e37a041a0 (patch)
tree96f41d575c40cecd61f20254c327c3a03fc7044b /git-svn.perl
parentabbf594763a14e9c00c61f688e45bed636f1eb52 (diff)
parent0ad64fd0b8d073e0c73836858a54f693c9191918 (diff)
downloadgit-6fb8e8f401a065bdffe379764871551e37a041a0.tar.gz
Merge branch 'maint'
* maint: git-shortlog: Fix two formatting errors in asciidoc documentation Fix overwriting of files when applying contextually independent diffs git-svn: don't allow globs to match regular files
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 4d3c453bf2..efc4c88a4e 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -3162,6 +3162,8 @@ sub match_globs {
my $p = $1;
my $pathname = $g->{path}->full_path($p);
next if $exists->{$pathname};
+ next if ($self->check_path($pathname, $r) !=
+ $SVN::Node::dir);
$exists->{$pathname} = Git::SVN->init(
$self->{url}, $pathname, undef,
$g->{ref}->full_path($p), 1);