summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElia Pinto <gitter.spiros@gmail.com>2016-09-05 10:24:42 +0000
committerJunio C Hamano <gitster@pobox.com>2016-09-07 11:41:40 -0700
commit4527aa10a6030fc8b4b65f1081b7089a9c6d9457 (patch)
tree0dcd97964c4822e50e10fd1a288c2f752320d7e6
parent4eee6c6ddc73a3d09e8703a168fe4bb121162d15 (diff)
downloadgit-4527aa10a6030fc8b4b65f1081b7089a9c6d9457.tar.gz
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>
-rw-r--r--t/test-lib.sh1
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);