Browse Source

Merge branch 'local_abs_windows_path' of git://github.com/garyvdm/dulwich

Jelmer Vernooij 10 years ago
parent
commit
9bdd409397
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dulwich/client.py

+ 1 - 1
dulwich/client.py

@@ -1135,7 +1135,7 @@ def get_transport_and_path(location, **kwargs):
         pass
 
     if (sys.platform == 'win32' and
-            location[0].isalpha() and location[1:2] == ':\\'):
+            location[0].isalpha() and location[1:3] == ':\\'):
         # Windows local path
         return default_local_git_client_cls(**kwargs), location