X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-svn.perl;h=bba22c1321056f5daa58a6913ccc406850700b25;hb=37bd6c5a2a1dbefdcbc0120451b95f82055f160f;hp=d8b38c9a47c0b77dd55781a66e42e4dec26fd4b7;hpb=16007f3916b885d29de6c48832aa6a4213ab7588;p=git.git diff --git a/git-svn.perl b/git-svn.perl index d8b38c9a4..bba22c132 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -958,9 +958,10 @@ sub complete_url_ls_init { "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";