git/reftable
Patrick Steinhardt 9077923c8e reftable/writer: fix type used for number of records
Both `reftable_writer_add_refs()` and `reftable_writer_add_logs()`
accept an array of records that should be added to the new table.
Callers of this function are expected to also pass the number of such
records to the function to tell it how many such records it is supposed
to write.

But while all callers pass in a `size_t`, which is a sensible choice,
the function in fact accepts an `int` as argument, which is less so. Fix
this.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-08-12 07:40:58 -07:00
..
LICENSE
basics.c
basics.h reftable: make REFTABLE_UNUSED C99 compatible 2025-05-29 09:18:53 -07:00
block.c Merge branch 'ps/reftable-read-block-perffix' 2025-05-19 16:02:48 -07:00
block.h Merge branch 'ps/reftable-api-revamp' 2025-04-29 14:21:30 -07:00
blocksource.c
blocksource.h
constants.h reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
error.c
iter.c reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
iter.h
merged.c reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
merged.h
pq.c
pq.h
record.c Merge branch 'ps/reftable-api-revamp' 2025-04-29 14:21:30 -07:00
record.h
reftable-basics.h
reftable-block.h reftable: fix perf regression when reading blocks of unwanted type 2025-05-12 10:55:24 -07:00
reftable-blocksource.h
reftable-constants.h reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
reftable-error.h
reftable-iterator.h
reftable-merged.h
reftable-record.h
reftable-stack.h
reftable-table.h reftable/table: move printing logic into test helper 2025-04-07 14:53:13 -07:00
reftable-writer.h reftable/writer: fix type used for number of records 2025-08-12 07:40:58 -07:00
stack.c reftable/constants: make block types part of the public interface 2025-04-07 14:53:12 -07:00
stack.h
system.c
system.h Merge branch 'ps/reftable-api-revamp' 2025-04-29 14:21:30 -07:00
table.c reftable: fix perf regression when reading blocks of unwanted type 2025-05-12 10:55:24 -07:00
table.h
tree.c
tree.h
writer.c reftable/writer: fix type used for number of records 2025-08-12 07:40:58 -07:00
writer.h