Do not log unless all connect() attempts fail
commit63a995b657dab9c1021f56dfe17804d2ad07577e
authorDave Zarzycki <zarzycki@apple.com>
Tue, 12 Jul 2011 16:28:34 +0000 (12 09:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 Jul 2011 16:19:03 +0000 (14 09:19 -0700)
treef6b7ec0e7aace700cbe2b5305e433e55d156d800
parentd28790dc31ca1bcdca7254a6b9381b6c84e91271
Do not log unless all connect() attempts fail

IPv6 hosts are often unreachable on the primarily IPv4 Internet and
therefore we shouldn't print an error if there are still other hosts we
can try to connect() to. This helps "git fetch --quiet" stay quiet.

Signed-off-by: Dave Zarzycki <zarzycki@apple.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
connect.c