connect: display connection progress

Make git notify the user about host resolution/connection attempts.
This is useful both as a progress indicator on slow links, and helps
reassure the user there are no firewall problems.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Michael S. Tsirkin
2007-05-16 20:09:41 +03:00
committed by Junio C Hamano
parent fdcb769916
commit 7841ce7985
6 changed files with 30 additions and 11 deletions

View File

@ -45,7 +45,7 @@ static int run_remote_archiver(const char *remote, int argc,
}
url = xstrdup(remote);
pid = git_connect(fd, url, exec);
pid = git_connect(fd, url, exec, 0);
if (pid < 0)
return pid;