aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElia Pinto <gitter.spiros@gmail.com>2016-05-23 13:44:03 +0000
committerJunio C Hamano <gitster@pobox.com>2016-05-24 15:48:18 -0700
commit73e57aaf4ded85bb5387365f1ebefaabf80cf073 (patch)
tree0bb6f21bf8e747a3f7497e3001862386f5d4d46b
parent74c682d3c63bff8860af5caf9bd38a5413568709 (diff)
downloadgit-73e57aaf4ded85bb5387365f1ebefaabf80cf073.tar.gz
git-73e57aaf4ded85bb5387365f1ebefaabf80cf073.tar.xz
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>
-rw-r--r--imap-send.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap-send.c b/imap-send.c
index 2c52027c8..8ad80674d 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -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;
}