Merge branch 'bn/http-cookiefile-config' into maint
"http.cookieFile" configuration variable clearly wants a pathname, but we forgot to treat it as such by e.g. applying tilde expansion. * bn/http-cookiefile-config: http: expand http.cookieFile as a path Documentation: config: improve word ordering for http.cookieFile
This commit is contained in:
2
http.c
2
http.c
@ -293,7 +293,7 @@ static int http_options(const char *var, const char *value, void *cb)
|
||||
return git_config_string(&http_proxy_authmethod, var, value);
|
||||
|
||||
if (!strcmp("http.cookiefile", var))
|
||||
return git_config_string(&curl_cookie_file, var, value);
|
||||
return git_config_pathname(&curl_cookie_file, var, value);
|
||||
if (!strcmp("http.savecookies", var)) {
|
||||
curl_save_cookies = git_config_bool(var, value);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user