git svn info: make info relative to the current directory
commitedde9112abd1ef5f4565468e8a9a500e0c03f900
authorThomas Rast <trast@student.ethz.ch>
Tue, 26 Aug 2008 19:32:36 +0000 (26 21:32 +0200)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Sep 2008 23:58:39 +0000 (5 16:58 -0700)
tree556900f1364a736b3876f80167fa1bd5506e3724
parent8d5100c7a81e7f638241b5af957e05216cd56579
git svn info: make info relative to the current directory

Previously 'git svn info <path>' would always treat the <path> as
relative to the working directory root, with a default of ".".  This
does not match the behaviour of 'svn info'.  Prepend $(git rev-parse
--show-prefix) to the path used inside cmd_info to make it relative to
the current working directory.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/t9119-git-svn-info.sh