Git::SVN::Utils: remove irrelevant comment
The code doesn't use File::Spec. [ew: commit title] Signed-off-by: Eric Wong <normalperson@yhbt.net>
Michael G. Schwern committed
Jul 28, 2012 at 02:38 UTC
8169a3908c72ce08763516745d726d8a2ac51a36
1 file changed
-2
perl/Git/SVN/Utils.pm
-2
@@ -92,8 +92,6 @@ sub canonicalize_path {
92
$path = "./" . $path;
93
$dot_slash_added = 1;
94
}
95
- # File::Spec->canonpath doesn't collapse x/../y into y (for a
96
- # good reason), so let's do this manually.
95
$path =~ s#/+#/#g;
96
$path =~ s#/\.(?:/|$)#/#g;
97
$path = _collapse_dotdot($path);