projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b934ec
)
http: Turn on verbose Curl messages if GIT_CURL_VERBOSE set in environment
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 1 Feb 2006 11:44:37 +0000
(11:44 +0000)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 6 Feb 2006 00:49:16 +0000
(16:49 -0800)
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http.c
patch
|
blob
|
history
diff --git
a/http.c
b/http.c
index
eefb0f0
..
632c2c5
100644
(file)
--- 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;
}