Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-07-08 03:31:55 +0400
committerJunio C Hamano <gitster@pobox.com>2008-07-08 03:31:55 +0400
commit07e2fbcb90bf0fc53bc67b970704730832c6d3d4 (patch)
treed9e96b51ddddf1db9aee0f62ea2f1ae0c7289081
parent92371226ac5bee99dc926c982f97d9d2280bd954 (diff)
parent39f319f4d51966419c0725d1145677457d6f162a (diff)
Merge branch 'maint'
* maint: git-svn.perl: workaround assertions in svn library 1.5.0
-rwxr-xr-xgit-svn.perl2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index f789a6eeca..a366c891dc 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -643,6 +643,8 @@ sub canonicalize_path {
$path =~ s#/[^/]+/\.\.##g;
$path =~ s#/$##g;
$path =~ s#^\./## if $dot_slash_added;
+ $path =~ s#^/##;
+ $path =~ s#^\.$##;
return $path;
}