projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca475a6
)
Git::SVN::Utils: remove irrelevant comment
author
Michael G. Schwern
<schwern@pobox.com>
Sat, 28 Jul 2012 09:38:30 +0000
(
02:38
-0700)
committer
Eric Wong
<normalperson@yhbt.net>
Thu, 2 Aug 2012 21:44:09 +0000
(21:44 +0000)
The code doesn't use File::Spec.
[ew: commit title]
Signed-off-by: Eric Wong <normalperson@yhbt.net>
perl/Git/SVN/Utils.pm
patch
|
blob
|
history
diff --git
a/perl/Git/SVN/Utils.pm
b/perl/Git/SVN/Utils.pm
index 4005da9d7d08c4119c6a0b39c7bb6eb716581518..17ba698a6d01f16f8028fc43e1c67bff96294994 100644
(file)
--- 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);