Browse Source

Git::SVN::Utils: remove irrelevant comment

The code doesn't use File::Spec.

[ew: commit title]

Signed-off-by: Eric Wong <normalperson@yhbt.net>
maint
Michael G. Schwern 12 years ago committed by Eric Wong
parent
commit
8169a3908c
  1. 2
      perl/Git/SVN/Utils.pm

2
perl/Git/SVN/Utils.pm

@ -92,8 +92,6 @@ sub canonicalize_path { @@ -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);

Loading…
Cancel
Save