summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-23 21:33:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-08-23 21:33:43 (GMT)
commit72140a73198b2fdbf6fc83ff679d3f553ed5faed (patch)
tree7ba00a7d4b59ad00610ef496d599e08568d4b452
parent447f80f508509c7252c2f531724b90f75d3e4a26 (diff)
parent8d1549643e814d2f8f0de2991d69c1331c8181d7 (diff)
downloadgit-72140a73198b2fdbf6fc83ff679d3f553ed5faed.zip
git-72140a73198b2fdbf6fc83ff679d3f553ed5faed.tar.gz
git-72140a73198b2fdbf6fc83ff679d3f553ed5faed.tar.bz2
Merge branch 'jc/http-sslkey-and-ssl-cert-are-paths' into maint
The http.{sslkey,sslCert} configuration variables are to be interpreted as a pathname that honors "~[username]/" prefix, but weren't, which has been fixed. * jc/http-sslkey-and-ssl-cert-are-paths: http.c: http.sslcert and http.sslkey are both pathnames
-rw-r--r--http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/http.c b/http.c
index c6c010f..76ff63c 100644
--- a/http.c
+++ b/http.c
@@ -272,10 +272,10 @@ static int http_options(const char *var, const char *value, void *cb)
if (!strcmp("http.sslversion", var))
return git_config_string(&ssl_version, var, value);
if (!strcmp("http.sslcert", var))
- return git_config_string(&ssl_cert, var, value);
+ return git_config_pathname(&ssl_cert, var, value);
#if LIBCURL_VERSION_NUM >= 0x070903
if (!strcmp("http.sslkey", var))
- return git_config_string(&ssl_key, var, value);
+ return git_config_pathname(&ssl_key, var, value);
#endif
#if LIBCURL_VERSION_NUM >= 0x070908
if (!strcmp("http.sslcapath", var))