X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=connect.c;h=dd96f8e0435ded892001783b69fba6a6fb3be288;hb=5fc3e67ac0241c491dcf1c0c9dcd4a4d83e7c243;hp=e92af2973565197f2f001c45c6059f9a838fe289;hpb=3beb56bde63d1a10abc02ffe76c1f98d59ec0874;p=git.git diff --git a/connect.c b/connect.c index e92af2973..dd96f8e04 100644 --- a/connect.c +++ b/connect.c @@ -97,7 +97,7 @@ int get_ack(int fd, unsigned char *result_sha1) int len = packet_read_line(fd, line, sizeof(line)); if (!len) - die("git-fetch-pack: expected ACK/NAK, got EOF"); + die("git fetch-pack: expected ACK/NAK, got EOF"); if (line[len-1] == '\n') line[--len] = 0; if (!strcmp(line, "NAK")) @@ -109,7 +109,7 @@ int get_ack(int fd, unsigned char *result_sha1) return 1; } } - die("git-fetch_pack: expected ACK/NAK, got '%s'", line); + die("git fetch_pack: expected ACK/NAK, got '%s'", line); } int path_match(const char *path, int nr, char **match) @@ -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';