MCPcopy Index your code
hub / github.com/git/git / http_reauth_prepare

Function http_reauth_prepare

http.c:669–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667}
668
669void http_reauth_prepare(int all_capabilities)
670{
671 /*
672 * If we deferred stripping Negotiate to give empty auth a
673 * chance (auto mode), skip credential_fill on this retry so
674 * that init_curl_http_auth() sends empty credentials and
675 * libcurl can attempt Negotiate with the system ticket cache.
676 */
677 if (empty_auth_try_negotiate &&
678 !http_auth.password && !http_auth.credential &&
679 (http_auth_methods & CURLAUTH_GSSNEGOTIATE))
680 return;
681
682 credential_fill(the_repository, &http_auth, all_capabilities);
683}
684
685/* *var must be free-able */
686static void var_override(char **var, char *value)

Callers 2

http_request_recoverableFunction · 0.85
post_rpcFunction · 0.85

Calls 1

credential_fillFunction · 0.85

Tested by

no test coverage detected