Git::SVN::Utils: remove irrelevant comment
authorMichael G. Schwern <schwern@pobox.com>
Sat, 28 Jul 2012 09:38:30 +0000 (02:38 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 2 Aug 2012 21:44:09 +0000 (21:44 +0000)
The code doesn't use File::Spec.

[ew: commit title]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
perl/Git/SVN/Utils.pm
index 4005da9d7d08c4119c6a0b39c7bb6eb716581518..17ba698a6d01f16f8028fc43e1c67bff96294994 100644 (file)
@@ -92,8 +92,6 @@ sub canonicalize_path {
                $path = "./" . $path;
                $dot_slash_added = 1;
        }
-       # File::Spec->canonpath doesn't collapse x/../y into y (for a
-       # good reason), so let's do this manually.
        $path =~ s#/+#/#g;
        $path =~ s#/\.(?:/|$)#/#g;
        $path = _collapse_dotdot($path);