aboutsummaryrefslogtreecommitdiffstats
path: root/imap-send.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-06-08 18:06:32 -0700
committerJunio C Hamano <gitster@pobox.com>2020-06-08 18:06:32 -0700
commit0b925a469eb903bfcfba73e6f1ff7e32f6190e62 (patch)
treed314cd780bf6d53debd43cee048446705721a9aa /imap-send.c
parent8d04c98866eb7a1fc85cea6dba65f4b0ab1436bc (diff)
parent7167a62b9e2f648adc11411446f876f2458722a5 (diff)
downloadgit-0b925a469eb903bfcfba73e6f1ff7e32f6190e62.tar.gz
Merge branch 'jt/curl-verbose-on-trace-curl'
Rewrite support for GIT_CURL_VERBOSE in terms of GIT_TRACE_CURL. Looking good. * jt/curl-verbose-on-trace-curl: http, imap-send: stop using CURLOPT_VERBOSE t5551: test that GIT_TRACE_CURL redacts password
Diffstat (limited to 'imap-send.c')
-rw-r--r--imap-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap-send.c b/imap-send.c
index 6c54d8c29d..52737546f3 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -1464,7 +1464,7 @@ static CURL *setup_curl(struct imap_server_conf *srvc, struct credential *cred)
curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
if (0 < verbosity || getenv("GIT_CURL_VERBOSE"))
- curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
+ http_trace_curl_no_data();
setup_curl_trace(curl);
return curl;