[PATCH 2/4] test-lib.sh: preserve GIT_TRACE_CURL from the environment
- From
Elia Pinto <gitter.spiros@gmail.com>
- Date
- Sep 5, 2016, 10:24 UTC
- Message-ID
- <20160905102444.3586-3-gitter.spiros@gmail.com>
- In-Reply-To
- <20160905102444.3586-1-gitter.spiros@gmail.com>
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> --- t/test-lib.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/t/test-lib.sh b/t/test-lib.sh index d731d66..986eba1 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);
-- 2.10.0.308.gf73994d