diff --git a/git-svn.perl b/git-svn.perl
index d8b38c9a47c0b77dd55781a66e42e4dec26fd4b7..bba22c1321056f5daa58a6913ccc406850700b25 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
"wanted to set to: $gs->{url}\n";
}
command_oneline('config', $k, $gs->{url}) unless $orig_url;
- my $remote_path = "$ra->{svn_path}/$repo_path/*";
+ my $remote_path = "$ra->{svn_path}/$repo_path";
$remote_path =~ s#/+#/#g;
$remote_path =~ s#^/##g;
+ $remote_path .= "/*" if $remote_path !~ /\*/;
my ($n) = ($switch =~ /^--(\w+)/);
if (length $pfx && $pfx !~ m#/$#) {
die "--prefix='$pfx' must have a trailing slash '/'\n";