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