Imported Upstream version 2.23.0
[platform/upstream/git.git] / connect.c
index 4050a79..2778481 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -511,7 +511,7 @@ int url_is_local_not_ssh(const char *url)
        const char *colon = strchr(url, ':');
        const char *slash = strchr(url, '/');
        return !colon || (slash && slash < colon) ||
-               (has_dos_drive_prefix(url) && is_valid_path(url));
+               has_dos_drive_prefix(url);
 }
 
 static const char *prot_name(enum protocol protocol)