Code

revision traversal: show full history with merge simplification
[git.git] / transport.c
index 6f549b336ba1f7c84f45bd13317949bae4f9c704..6eb65b873afc9dfd457e974b63d88350bb8dc913 100644 (file)
@@ -711,7 +711,8 @@ static int is_local(const char *url)
 {
        const char *colon = strchr(url, ':');
        const char *slash = strchr(url, '/');
-       return !colon || (slash && slash < colon);
+       return !colon || (slash && slash < colon) ||
+               has_dos_drive_prefix(url);
 }
 
 static int is_file(const char *url)