Git fork

Merge branch 'rj/cygwin-exit'

Treat ECONNABORTED the same as ECONNRESET in 'git credential-cache' to
work around a possible Cygwin regression. This resolves a race condition
caused by changes in Cygwin's handling of socket closures, allowing the
client to exit cleanly when encountering ECONNABORTED.

* rj/cygwin-exit:
credential-cache: treat ECONNABORTED like ECONNRESET

+1 -1
+1 -1
builtin/credential-cache.c
··· 30 30 31 31 static int connection_closed(int error) 32 32 { 33 - return (error == ECONNRESET); 33 + return error == ECONNRESET || error == ECONNABORTED; 34 34 } 35 35 36 36 static int connection_fatally_broken(int error)