Re: [PATCH v7 1/2] http.c: implement the GIT_TRACE_CURL environment variable

2016-05-24 Thread Junio C Hamano
On Mon, May 23, 2016 at 6:44 AM, Elia Pinto wrote: > +static void curl_dump_header(const char *text, unsigned char *ptr, size_t > size, int hide_sensitive_header) > +{ > + struct strbuf out = STRBUF_INIT; > + const char *sensitive_header; This variable now has become unused, so I'll

[PATCH v7 1/2] http.c: implement the GIT_TRACE_CURL environment variable

2016-05-23 Thread Elia Pinto
Implement the GIT_TRACE_CURL environment variable to allow a greater degree of detail of GIT_CURL_VERBOSE, in particular the complete transport header and all the data payload exchanged. It might be useful if a particular situation could require a more thorough debugging analysis. Document the new