Linus Torvalds <torvalds@xxxxxxxx> writes: > diff --git a/connect.c b/connect.c > index 54f7bf7..36c5d04 100644 > --- a/connect.c > +++ b/connect.c > @@ -374,7 +374,7 @@ static int git_tcp_connect(int fd[2], co > > fd[0] = sockfd; > fd[1] = sockfd; > - packet_write(sockfd, "%s %s\n", prog, path); > + packet_write(sockfd, "%s %s%c%s%c%s\n", prog, path, 0, host, 0, port); > return 0; > } Adding host like HTTP does with Host: header makes sense but I think the accept side can usually tell what the port it accepted the connection to is. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html