author | Eric Wong <normalperson@yhbt.net> | |
Tue, 5 Aug 2008 07:35:16 +0000 (00:35 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Aug 2008 04:21:19 +0000 (21:21 -0700) | ||
commit | bd2d4f96b34ae295413f35eab687d7eff26564ee | |
tree | cb0517905c2e4cc4c1627a971c5a0bb1b1a26fb3 | tree | snapshot |
parent | 1168d402d2962f56cbc921bbc954d8f2179c8ba7 | commit | diff |
git-svn: properly set path for "info" command
canonicalize_path() was previously changed to better
fit SVN 1.5, but it makes the "info" command not match
svn(1) in two places:
1) URL ended up with a trailing slash when run without an
argument.
2) "Path: " was displayed instead of "Path: ." when run
without an argument.
We will also handle odd cases where a user wants to
get information on a file or directory named "0", too.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
canonicalize_path() was previously changed to better
fit SVN 1.5, but it makes the "info" command not match
svn(1) in two places:
1) URL ended up with a trailing slash when run without an
argument.
2) "Path: " was displayed instead of "Path: ." when run
without an argument.
We will also handle odd cases where a user wants to
get information on a file or directory named "0", too.
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl | diff | blob | history |