summaryrefslogtreecommitdiff
path: root/t/t7500-commit-template-squash-signoff.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2019-03-30 08:51:19 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-01 17:36:18 +0900
commitc1ee5796dc656d7e98130c7bfca903e8872ef41f (patch)
tree2b02489878e687fb574218f03658813364c40859 /t/t7500-commit-template-squash-signoff.sh
parentThe third batch (diff)
downloadtgif-c1ee5796dc656d7e98130c7bfca903e8872ef41f.tar.xz
test-lib: whitelist GIT_TR2_* in the environment
Add GIT_TR2_* to the whitelist of environment variables that we don't clear when running the test suite. This allows us to use the test suite to produce trace2 test data, which is handy to e.g. write consumers that collate the trace data itself. One caveat here is that we produce trace output for not *just* the tests, but also e.g. from this line in test-lib.sh: # It appears that people try to run tests without building... "${GIT_TEST_INSTALLED:-$GIT_BUILD_DIR}/git$X" >/dev/null [...] I consider this not just OK but a feature. Let's log *all* the git commands we're going to execute, not just those within test_expect_*(). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7500-commit-template-squash-signoff.sh')
0 files changed, 0 insertions, 0 deletions