diff options
author | Elia Pinto <gitter.spiros@gmail.com> | 2016-09-05 10:24:42 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-07 11:41:40 -0700 |
commit | 4527aa10a6030fc8b4b65f1081b7089a9c6d9457 (patch) | |
tree | 0dcd97964c4822e50e10fd1a288c2f752320d7e6 /t | |
parent | t5541-http-push-smart.sh: use the GIT_TRACE_CURL environment var (diff) | |
download | tgif-4527aa10a6030fc8b4b65f1081b7089a9c6d9457.tar.xz |
test-lib.sh: preserve GIT_TRACE_CURL from the environment
Turning on this variable can be useful when debugging http
tests. It can break a few tests in t5541 if not set
to an absolute path but it is not a variable
that the user is likely to have enabled accidentally.
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r-- | t/test-lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index d731d66e36..986eba1d00 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -89,6 +89,7 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e ' UNZIP PERF_ CURL_VERBOSE + TRACE_CURL )); my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env); print join("\n", @vars); |