summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-05-16 17:09:41 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-16 19:48:18 (GMT)
commit7841ce79854868eaaa146c1d018b17fc4f3320be (patch)
tree297639aba698d4c6a1c1b573ea96aa741c6bc9c3 /send-pack.c
parentfdcb769916c93b53517ef1b4cae447a3333c9b86 (diff)
downloadgit-7841ce79854868eaaa146c1d018b17fc4f3320be.zip
git-7841ce79854868eaaa146c1d018b17fc4f3320be.tar.gz
git-7841ce79854868eaaa146c1d018b17fc4f3320be.tar.bz2
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>
Diffstat (limited to 'send-pack.c')
-rw-r--r--send-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c
index d5b5162..83ee87d 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -393,7 +393,7 @@ int main(int argc, char **argv)
usage(send_pack_usage);
verify_remote_names(nr_heads, heads);
- pid = git_connect(fd, dest, receivepack);
+ pid = git_connect(fd, dest, receivepack, verbose ? CONNECT_VERBOSE : 0);
if (pid < 0)
return 1;
ret = send_pack(fd[0], fd[1], nr_heads, heads);