aboutsummaryrefslogtreecommitdiff
path: root/t/test-lib.sh
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/test-lib.sh
parent4a28f169ad29ba452e0e7bea2583914c10c58322 (diff)
downloadgit-e2a0ccc01fab1770bd3b2767481137c6f728e5ab.tar.gz
git-e2a0ccc01fab1770bd3b2767481137c6f728e5ab.tar.xz
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/test-lib.sh')
-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 c081668df..f7e55b100 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);