@matheusbsbs / matheus-bagliano / commits / 67dac28b90
Fork 0

git-svn: remove redundant slashes from show-ignore

Jonathan Scott Duff wrote: > Recently I tried "git svn showignore" on my parrot repository and it > failed. I tracked it down to the prop_walk() sub. When it recurses, > $path has an extra / on the beginning (i.e., when it recurses, it > tries to get the props for "//apps" instead of "/apps"). I *think* > this is because $path is used in the recursive call rather than $p > (which seems to contain a properly transformed $path). Anyway, I've > attached a patch that works for me and I think is generally the right > thing. Patch-submitted-by: Jonathan Scott Duff Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Eric Wong committed Mar 29, 2008 at 16:37 UTC 67dac28b904cf16e66c904eb61268b694809e4d5
1 file changed +1 -1
git-svn.perl
+1 -1
@@ -1900,7 +1900,7 @@ sub prop_walk {
1900
1901 foreach (sort keys %$dirent) {
1902 next if $dirent->{$_}->{kind} != $SVN::Node::dir;
1903 - $self->prop_walk($path . '/' . $_, $rev, $sub);
1903 + $self->prop_walk($p . $_, $rev, $sub);
1904 }
1905 }
1906