diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-17 14:38:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-17 14:38:18 -0700 |
commit | 459000ef630f99c5f94c92110a5305240a9ef281 (patch) | |
tree | ca8d05d8a87a2df1e04c7c3b75e49aae8662fc3c /http.c | |
parent | 6675f501f6b987dbdb0dbeb1d2efeb5a27fc41a7 (diff) | |
parent | e5a39ad8e67d61f1f7dfb6ef9d9127a8b11da72c (diff) | |
download | git-459000ef630f99c5f94c92110a5305240a9ef281.tar.gz |
Merge branch 'bn/http-cookiefile-config'
"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
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -294,7 +294,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; |