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>
Elia Pinto committed
Sep 5, 2016 at 10:24 UTC
4527aa10a6030fc8b4b65f1081b7089a9c6d9457
1 file changed
+1
t/test-lib.sh
+1
@@ -89,6 +89,7 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
89
UNZIP
90
PERF_
91
CURL_VERBOSE
92
+ TRACE_CURL
93
));
94
my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
95
print join("\n", @vars);