]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Revert "test-lib: whitelist GIT_TR2_* in the environment"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 12 Jun 2019 14:29:41 +0000 (16:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2019 17:51:13 +0000 (10:51 -0700)
This reverts my commit c1ee5796dc ("test-lib: whitelist GIT_TR2_* in
the environment", 2019-03-30), which is now redundant.

Since e4b75d6a1d ("trace2: rename environment variables to
GIT_TRACE2*", 2019-05-19) the GIT_TRACE2* variables match the existing
GIT_TRACE* pattern added in 95a1d12e9b ("tests: scrub environment of
GIT_* variables", 2011-03-15), so we no longer need to list TR2 here.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh

index 599fd70e141c7b7252b65ae6603486691864974b..57f7c30377faa9867c7651a2b1ec16f2351bc000 100644 (file)
@@ -386,7 +386,6 @@ unset VISUAL EMAIL LANGUAGE COLUMNS $("$PERL_PATH" -e '
        my @env = keys %ENV;
        my $ok = join("|", qw(
                TRACE
-               TR2_
                DEBUG
                TEST
                .*_TEST