Git::SVN::Utils: remove irrelevant comment
The code doesn't use File::Spec. [ew: commit title] Signed-off-by: Eric Wong <normalperson@yhbt.net>
This commit is contained in:
parent
ca475a61f8
commit
8169a3908c
@ -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…
Reference in New Issue
Block a user