diff options
| author | Junio C Hamano <gitster@pobox.com> | 2008-03-15 00:05:40 -0700 | 
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-03-15 00:05:40 -0700 | 
| commit | 2a2ad0c0007b9f79768b4564644ac9eaaa7310b6 (patch) | |
| tree | 1c0d7de9a2be2891718df0a5a443af4ff51208e4 /git-svn.perl | |
| parent | fac4b328874ccf515a42e30173d0e008382ac276 (diff) | |
| parent | a0b54e7b73415f92225ddf29fe655399bafd4938 (diff) | |
| download | git-2a2ad0c0007b9f79768b4564644ac9eaaa7310b6.tar.gz | |
Merge branch 'maint'
* maint:
  Make man page building quiet when DOCBOOK_XSL_172 is defined
  git-new-workdir: Share SVN meta data between work dirs and the repository
  rev-parse: fix meaning of rev~ vs rev~0.
  git-svn: don't blindly append '*' to branch/tags config
Diffstat (limited to 'git-svn.perl')
| -rwxr-xr-x | git-svn.perl | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/git-svn.perl b/git-svn.perl index d8b38c9a47..bba22c1321 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"; | 
