Correct logic from merge to fix t1020-subdirectory.sh.

Some logic was lost from the merge from git.git.

Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
This commit is contained in:
Mike Pape
2007-08-14 13:48:56 -04:00
parent 65b356f555
commit 1a896a5900

View File

@@ -525,7 +525,8 @@ pid_t git_connect(int fd[2], char *url, const char *prog, int flags)
) {
protocol = PROTO_SSH;
*path++ = '\0';
}
} else
path = host;
} else
path = end;