reftable/stack: add env to disable autocompaction
commit7c8eb5928f3ae504f9ce92b67a1eb41db82d81f7
authorJustin Tobler <jltobler@gmail.com>
Mon, 8 Apr 2024 16:16:54 +0000 (8 16:16 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 8 Apr 2024 19:11:10 +0000 (8 12:11 -0700)
tree32bf9704970041645ebf8e6d9c7b89b5e5a546ee
parentbc91330cecfdc9a00a486923126a969fee6ace36
reftable/stack: add env to disable autocompaction

In future tests it will be neccesary to create repositories with a set
number of tables. To make this easier, introduce the
`GIT_TEST_REFTABLE_AUTOCOMPACTION` environment variable that, when set
to false, disables autocompaction of reftables.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Acked-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/reftable-backend.c
t/t0610-reftable-basics.sh