Re: [PATCH v3 0/8] reftable: a couple of improvements for libgit2
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Aug 13, 2025, 06:11 UTC
- Message-ID
- <aJwsq-dLyQ9I7fDo@pks.im>
- In-Reply-To
- <CAPUEsph_rWfbxobf0fWuGcWF=XNa4911FAXvB7agbfyUiZDr6Q@mail.gmail.com>
On Tue, Aug 12, 2025 at 12:00:53PM -0700, Carlo Arenas wrote:
Show 16 quoted lines
> On Tue, Aug 12, 2025 at 2:54 AM Patrick Steinhardt <ps@pks.im> wrote:
>
> > Range-diff versus v2:
> >
> > 1: ce08ba1217 = 1: 1613715dc9 reftable/writer: fix type used for number of records
> > 2: 80a87ff19a = 2: 4a082b71fb reftable/writer: drop Git-specific `QSORT()` macro
> > 3: e230c97347 < -: ---------- reftable/stack: fix compiler warning due to missing braces
> > 4: dd413b76a2 ! 3: 3977a1f497 reftable/stack: reorder code to avoid forward declarations
> > @@ reftable/stack.c: int reftable_stack_reload(struct reftable_stack *st)
> > struct reftable_stack *stack;
> > @@ reftable/stack.c: struct reftable_addition {
> >
> > - #define REFTABLE_ADDITION_INIT {{0}}
> > + #define REFTABLE_ADDITION_INIT {0}
>
> This define shouldn't be needed anymore AFAIKIt doesn't exist anymore after this patch series, as it gets removed in the fourth patch. The above change in the range-diff is merely a result of me swapping the order of patch 3 and 4.
Patrick