diff options
| author | Masaya Suzuki <masayasuzuki@google.com> | 2019-01-10 11:33:47 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-01-10 15:00:56 -0800 |
| commit | e6cf87b12d3b85b31637c865bbfaed62c3e59e94 (patch) | |
| tree | af69d47ea93b11b324f235e1d6ab8d192b8cd03e /builtin/diff-tree.c | |
| parent | http: support file handles for HTTP_KEEP_ERROR (diff) | |
| download | git-e6cf87b12d3b85b31637c865bbfaed62c3e59e94.tar.gz git-e6cf87b12d3b85b31637c865bbfaed62c3e59e94.zip | |
http: enable keep_error for HTTP requests
curl stops parsing a response when it sees a bad HTTP status code and it
has CURLOPT_FAILONERROR set. This prevents GIT_CURL_VERBOSE to show HTTP
headers on error.
keep_error is an option to receive the HTTP response body for those
error responses. By enabling this option, curl will process the HTTP
response headers, and they're shown if GIT_CURL_VERBOSE is set.
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-tree.c')
0 files changed, 0 insertions, 0 deletions
