From 7982d74e1ca846e6ab9b1bfb1fcd9c34e3fd534f Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 1 Feb 2006 11:44:37 +0000 Subject: [PATCH] http: Turn on verbose Curl messages if GIT_CURL_VERBOSE set in environment Signed-off-by: Mark Wooding Signed-off-by: Junio C Hamano --- http.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/http.c b/http.c index eefb0f03d2..632c2c5c2f 100644 --- a/http.c +++ b/http.c @@ -192,6 +192,9 @@ static CURL* get_curl_handle(void) curl_easy_setopt(result, CURLOPT_FOLLOWLOCATION, 1); + if (getenv("GIT_CURL_VERBOSE")) + curl_easy_setopt(result, CURLOPT_VERBOSE, 1); + return result; } -- 2.11.4.GIT