git/t/unit-tests
Patrick Steinhardt 178c588500 reftable/stack: allow passing flags to `reftable_stack_add()`
The `reftable_stack_add()` function is a simple wrapper to lock the
stack, add records to it via a callback and then commit the
result. One problem with it though is that it doesn't accept any flags
for creating the addition. This makes it impossible to automatically
reload the stack in case it was modified before we managed to lock the
stack.

Add a `flags` field to plug this gap and pass it through accordingly.
For now this new flag won't be used by us, but it will be used by
libgit2.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-08-12 07:40:59 -07:00
..
clar clar: avoid using the comma operator unnecessarily 2025-03-28 17:38:09 -07:00
.gitignore
generate-clar-decls.sh
generate-clar-suites.sh
lib-oid.c t/unit-tests: implement clar specific oid helper functions 2025-02-25 10:31:22 -08:00
lib-oid.h t/unit-tests: implement clar specific oid helper functions 2025-02-25 10:31:22 -08:00
lib-reftable.c
lib-reftable.h
t-reftable-basics.c reftable/basics: provide wrappers for big endian conversion 2025-02-18 10:55:37 -08:00
t-reftable-block.c reftable: fix perf regression when reading blocks of unwanted type 2025-05-12 10:55:24 -07:00
t-reftable-merged.c reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
t-reftable-pq.c reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
t-reftable-readwrite.c reftable/block: rename `block` to `block_data` 2025-04-07 14:53:10 -07:00
t-reftable-record.c reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
t-reftable-stack.c reftable/stack: allow passing flags to `reftable_stack_add()` 2025-08-12 07:40:59 -07:00
t-reftable-table.c reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
test-lib.c
test-lib.h
u-ctype.c
u-example-decorate.c t/unit-tests: adapt example decorate test to use clar test framework 2025-01-31 14:58:44 -08:00
u-hash.c global: adapt callers to use generic hash context helpers 2025-01-31 10:06:11 -08:00
u-hashmap.c t/unit-tests: convert hashmap test to use clar test framework 2025-01-31 14:58:44 -08:00
u-mem-pool.c
u-oid-array.c t/unit-tests: convert oid-array test to use clar test framework 2025-02-25 10:31:22 -08:00
u-oidmap.c oidmap: rename oidmap_free() to oidmap_clear() 2025-05-12 13:06:26 -07:00
u-oidtree.c t/unit-tests: convert oidtree test to use clar test framework 2025-02-25 10:31:23 -08:00
u-prio-queue.c prio-queue: add prio_queue_replace() 2025-07-22 07:28:35 -07:00
u-reftable-tree.c
u-strbuf.c t/unit-tests: convert strbuf test to use clar test framework 2025-01-31 14:58:45 -08:00
u-strcmp-offset.c t/unit-tests: convert strcmp-offset test to use clar test framework 2025-01-31 14:58:45 -08:00
u-string-list.c u-string-list: move "remove duplicates" test to "u-string-list.c" 2025-07-07 08:07:47 -07:00
u-strvec.c
u-trailer.c t/unit-tests: convert trailer test to use clar 2025-03-04 09:59:17 -08:00
u-urlmatch-normalization.c t/unit-tests: convert urlmatch-normalization test to clar 2025-03-04 10:01:43 -08:00
unit-test.c t/unit-tests: implement clar specific oid helper functions 2025-02-25 10:31:22 -08:00
unit-test.h