summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2012-07-28 02:38:30 -0700
committerEric Wong <normalperson@yhbt.net>2012-08-02 21:44:09 +0000
commit8169a3908c72ce08763516745d726d8a2ac51a36 (patch)
treef431b9435b03c16849dc64b1b2cef672c5a7bab2 /perl
parentca475a61f8c07d475c505bf64d219f7e9d61e728 (diff)
downloadgit-8169a3908c72ce08763516745d726d8a2ac51a36.tar.gz
Git::SVN::Utils: remove irrelevant comment
The code doesn't use File::Spec. [ew: commit title] Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'perl')
-rw-r--r--perl/Git/SVN/Utils.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl/Git/SVN/Utils.pm b/perl/Git/SVN/Utils.pm
index 4005da9d7d..17ba698a6d 100644
--- a/perl/Git/SVN/Utils.pm
+++ b/perl/Git/SVN/Utils.pm
@@ -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);