summaryrefslogtreecommitdiff
path: root/perl/Git
diff options
context:
space:
mode:
authorMichael G. Schwern <schwern@pobox.com>2012-07-28 09:38:30 (GMT)
committerEric Wong <normalperson@yhbt.net>2012-08-02 21:44:09 (GMT)
commit8169a3908c72ce08763516745d726d8a2ac51a36 (patch)
treef431b9435b03c16849dc64b1b2cef672c5a7bab2 /perl/Git
parentca475a61f8c07d475c505bf64d219f7e9d61e728 (diff)
downloadgit-8169a3908c72ce08763516745d726d8a2ac51a36.zip
git-8169a3908c72ce08763516745d726d8a2ac51a36.tar.gz
git-8169a3908c72ce08763516745d726d8a2ac51a36.tar.bz2
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/Git')
-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 4005da9..17ba698 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);