]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/stack: verify that `reftable_stack_add()` uses auto-compaction
authorPatrick Steinhardt <ps@pks.im>
Mon, 11 Dec 2023 09:07:42 +0000 (10:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Dec 2023 15:23:16 +0000 (07:23 -0800)
commit15f98b602f36ce5e5cc1f466850eaf2b37022e3b
tree34e3d4eb74eb3b20913154a3de295cdfc46e9006
parent85a8c899cedf46b79dd333549ed24b7ea7697862
reftable/stack: verify that `reftable_stack_add()` uses auto-compaction

While we have several tests that check whether we correctly perform
auto-compaction when manually calling `reftable_stack_auto_compact()`,
we don't have any tests that verify whether `reftable_stack_add()` does
call it automatically. Add one.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/stack_test.c