mirror of
https://github.com/git/git.git
synced 2026-03-13 02:13:24 +01:00
Merge branch 'jk/credentials' into next
* jk/credentials: credential-cache: ignore "connection refused" errors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user