]> Kevux Git Server - rit/commitdiff
test-lib.sh: preserve GIT_TRACE_CURL from the environment
authorElia Pinto <gitter.spiros@gmail.com>
Mon, 5 Sep 2016 10:24:42 +0000 (10:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Sep 2016 18:41:40 +0000 (11:41 -0700)
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>
t/test-lib.sh

index d731d66..986eba1 100644 (file)
@@ -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);