Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision --simplify-merges: use decoration instead of commit->util field
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 6f549b336ba1f7c84f45bd13317949bae4f9c704..6eb65b873afc9dfd457e974b63d88350bb8dc913 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-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)