commit | 7982d74e1ca846e6ab9b1bfb1fcd9c34e3fd534f | [log] [tgz] |
---|---|---|
author | Mark Wooding <mdw@distorted.org.uk> | Wed Feb 01 11:44:37 2006 +0000 |
committer | Junio C Hamano <junkio@cox.net> | Sun Feb 05 16:49:16 2006 -0800 |
tree | a91a3ad08e99349fd9d3b94b6033acb4f1f82466 | |
parent | 7b934ec015363dd8881d249838ab3623a2d345fd [diff] [blame] |
http: Turn on verbose Curl messages if GIT_CURL_VERBOSE set in environment Signed-off-by: Mark Wooding <mdw@distorted.org.uk> Signed-off-by: Junio C Hamano <junkio@cox.net>
diff --git a/http.c b/http.c index eefb0f0..632c2c5 100644 --- a/http.c +++ b/http.c
@@ -192,6 +192,9 @@ curl_easy_setopt(result, CURLOPT_FOLLOWLOCATION, 1); + if (getenv("GIT_CURL_VERBOSE")) + curl_easy_setopt(result, CURLOPT_VERBOSE, 1); + return result; }