From: Elia Pinto Date: Mon, 5 Sep 2016 10:24:42 +0000 (+0000) Subject: test-lib.sh: preserve GIT_TRACE_CURL from the environment X-Git-Tag: v2.10.1~37^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4527aa10a6030fc8b4b65f1081b7089a9c6d9457;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib.sh b/t/test-lib.sh index d731d66e36..986eba1d00 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -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);