]> git.ipfire.org Git - thirdparty/git.git/commit
credential-cache: check for windows specific errors
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Tue, 14 Sep 2021 07:25:59 +0000 (00:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 Sep 2021 16:30:54 +0000 (09:30 -0700)
commit245670cd46c4713818b5fbca2c084ce2e19f4ed8
treea5ecde19da027f9e0ea7affc0803a323aa7ea8dc
parent0fdcfa2f9f59a8bf4202ac3933991f42a4ac1393
credential-cache: check for windows specific errors

Connect and reset errors aren't what will be expected by POSIX but
are instead compatible with the ones used by WinSock.

To avoid any possibility of confusion with other systems, checks
for disconnection and availability had been abstracted into helper
functions that are platform specific.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/credential-cache.c