summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-05-22 05:28:50 -0400
committerJunio C Hamano <gitster@pobox.com>2014-05-23 12:41:48 -0700
commite2a0ccc01fab1770bd3b2767481137c6f728e5ab (patch)
tree069e6e9105e64e32b8d726ac4ac1be668854db87 /t
parent4a28f169ad29ba452e0e7bea2583914c10c58322 (diff)
downloadgit-e2a0ccc01fab1770bd3b2767481137c6f728e5ab.tar.gz
test-lib: preserve GIT_CURL_VERBOSE from the environment
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>
Diffstat (limited to 't')
-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 c081668dfe..f7e55b1001 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -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);