From 1a896a59003da71410fe34cf5687832d1f2a6797 Mon Sep 17 00:00:00 2001 From: Mike Pape Date: Tue, 14 Aug 2007 13:48:56 -0400 Subject: [PATCH] Correct logic from merge to fix t1020-subdirectory.sh. Some logic was lost from the merge from git.git. Signed-off-by: Mike Pape --- connect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connect.c b/connect.c index 9f51e8dcc8..ea810c4df9 100644 --- a/connect.c +++ b/connect.c @@ -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;