Merge branch 'jk/credentials' into next

* jk/credentials:
  credential-cache: ignore "connection refused" errors
This commit is contained in:
Junio C Hamano
2012-01-16 22:16:50 -08:00

View File

@@ -72,7 +72,7 @@ static void do_cache(const char *socket, const char *action, int timeout,
}
if (send_request(socket, &buf) < 0) {
if (errno != ENOENT)
if (errno != ENOENT && errno != ECONNREFUSED)
die_errno("unable to connect to cache daemon");
if (flags & FLAG_SPAWN) {
spawn_daemon(socket);