]> git.ipfire.org Git - thirdparty/git.git/commitdiff
test-lib: preserve GIT_CURL_VERBOSE from the environment
authorJeff King <peff@peff.net>
Thu, 22 May 2014 09:28:50 +0000 (05:28 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 May 2014 19:41:48 +0000 (12:41 -0700)
Turning on this variable can be useful when debugging http
tests. It does break a few tests in t5541, but it is not
a variable that the user is likely to have enabled
accidentally.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh

index c081668dfe16c85dda29bace564f7c1c3da77cb0..f7e55b1001f21774b9bab0107b68b59e45a9d79e 100644 (file)
@@ -91,6 +91,7 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
                VALGRIND
                UNZIP
                PERF_
+               CURL_VERBOSE
        ));
        my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
        print join("\n", @vars);