[PATCH 0/5] reftable: a couple of improvements for libgit2
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Aug 1, 2025, 14:47 UTC
- Message-ID
- <20250801-pks-reftable-fixes-for-libgit2-v1-0-f446e1c33cb9@pks.im>
Hi,
this small patch series contains a couple of improvements I required for libgit2. With those changes libgit2 is now able to run its full test suite with reftable-enabled repositories. I still need to invest a bit of work to make it memory-leak free and compile on Windows, but overall I think that support for reftables is almost ready.
Thanks!
Patrick
---
Patrick Steinhardt (5):
reftable/writer: fix type used for number of records
reftable/writer: drop Git-specific `QSORT()` macro
reftable/stack: fix compiler warning due to missing braces
reftable/stack: reorder code to avoid forward declarations
reftable/stack: allow passing flags to `reftable_stack_add()`refs/reftable-backend.c | 8 +- reftable/reftable-stack.h | 9 +- reftable/reftable-writer.h | 4 +- reftable/stack.c | 366 +++++++++++++++++++--------------------- reftable/writer.c | 23 +-- t/unit-tests/t-reftable-stack.c | 50 +++--- 6 files changed, 227 insertions(+), 233 deletions(-)
--- base-commit: e813a0200a7121b97fec535f0d0b460b0a33356c change-id: 20250801-pks-reftable-fixes-for-libgit2-562b959a5603