diff options
author | Mark Wooding <mdw@distorted.org.uk> | 2006-02-01 12:44:37 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-06 01:49:16 +0100 |
commit | 7982d74e1ca846e6ab9b1bfb1fcd9c34e3fd534f (patch) | |
tree | a91a3ad08e99349fd9d3b94b6033acb4f1f82466 /http.c | |
parent | http-fetch: Fix message reporting rename of object file. (diff) | |
download | git-7982d74e1ca846e6ab9b1bfb1fcd9c34e3fd534f.tar.xz git-7982d74e1ca846e6ab9b1bfb1fcd9c34e3fd534f.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | http.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |