Skip to content

Commit 8169a39

Browse files
schwernEric Wong
authored andcommitted
Git::SVN::Utils: remove irrelevant comment
The code doesn't use File::Spec. [ew: commit title] Signed-off-by: Eric Wong <normalperson@yhbt.net>
1 parent ca475a6 commit 8169a39

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

perl/Git/SVN/Utils.pm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ sub canonicalize_path {
9292
$path = "./" . $path;
9393
$dot_slash_added = 1;
9494
}
95-
# File::Spec->canonpath doesn't collapse x/../y into y (for a
96-
# good reason), so let's do this manually.
9795
$path =~ s#/+#/#g;
9896
$path =~ s#/\.(?:/|$)#/#g;
9997
$path = _collapse_dotdot($path);

0 commit comments

Comments
 (0)