Skip to content

Commit 73e57aa

Browse files
devzero2000gitster
authored andcommitted
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>
1 parent 74c682d commit 73e57aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

imap-send.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,6 +1443,7 @@ static CURL *setup_curl(struct imap_server_conf *srvc)
14431443

14441444
if (0 < verbosity || getenv("GIT_CURL_VERBOSE"))
14451445
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
1446+
setup_curl_trace(curl);
14461447

14471448
return curl;
14481449
}

0 commit comments

Comments
 (0)