Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: Help "less" hide ^M from the output
[gitweb.git]
/
connect.c
diff --git
a/connect.c
b/connect.c
index e92af2973565197f2f001c45c6059f9a838fe289..574f42fa47ffa69328217eb25afee6f85db9595e 100644
(file)
--- a/
connect.c
+++ b/
connect.c
@@
-529,7
+529,7
@@
struct child_process *git_connect(int fd[2], const char *url_orig,
end = host;
path = strchr(end, c);
- if (path) {
+ if (path
&& !has_dos_drive_prefix(end)
) {
if (c == ':') {
protocol = PROTO_SSH;
*path++ = '\0';