imap-send.c: introduce the GIT_TRACE_CURL enviroment variable
Permit the use of the GIT_TRACE_CURL environment variable calling the setup_curl_trace http.c helper routine. Helped-by: Torsten Bögershausen <tboegi@web.de> Helped-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
74c682d3c6
commit
73e57aaf4d
@ -1443,6 +1443,7 @@ static CURL *setup_curl(struct imap_server_conf *srvc)
|
||||
|
||||
if (0 < verbosity || getenv("GIT_CURL_VERBOSE"))
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
setup_curl_trace(curl);
|
||||
|
||||
return curl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user