summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorLibravatar Michael G. Schwern <schwern@pobox.com>2012-07-28 02:38:30 -0700
committerLibravatar Eric Wong <normalperson@yhbt.net>2012-08-02 21:44:09 +0000
commit8169a3908c72ce08763516745d726d8a2ac51a36 (patch)
treef431b9435b03c16849dc64b1b2cef672c5a7bab2 /perl
parentgit-svn: add join_paths() to safely concatenate paths (diff)
downloadtgif-8169a3908c72ce08763516745d726d8a2ac51a36.tar.xz
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);