Skip to content

Commit 4527aa1

Browse files
devzero2000gitster
authored andcommitted
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 <gitter.spiros@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 4eee6c6 commit 4527aa1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

t/test-lib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
8989
UNZIP
9090
PERF_
9191
CURL_VERBOSE
92+
TRACE_CURL
9293
));
9394
my @vars = grep(/^GIT_/ && !/^GIT_($ok)/o, @env);
9495
print join("\n", @vars);

0 commit comments

Comments
 (0)