summaryrefslogtreecommitdiff
path: root/t/t5411/test-0039-report-mixed-refs--porcelain.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2022-03-17 11:13:16 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-17 14:42:14 -0700
commit66865d12a0a15276fd525a461e0873bf82d4f246 (patch)
treeeb67caff7a3c52a90028da006282c0fc660b3b84 /t/t5411/test-0039-report-mixed-refs--porcelain.sh
parenttests: use "test_hook" for misc "mkdir -p" and "chmod" cases (diff)
downloadtgif-66865d12a0a15276fd525a461e0873bf82d4f246.tar.xz
tests: extend "test_hook" for "rm" and "chmod -x", convert "$HOOK"
Extend the "test_hook" function to take options to disable and remove hooks. Using the wrapper instead of getting the path and running "chmod -x" or "rm" will make it easier to eventually emulate the same behavior with config-based hooks. Not all of these tests need that new mode, but since the rest are either closely related or use the same "$HOOK" pattern let's convert them too. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5411/test-0039-report-mixed-refs--porcelain.sh')
0 files changed, 0 insertions, 0 deletions