Re: [PATCH v3 05/16] reftable: utility functions
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Nov 27, 2020, 10:33 UTC
- Message-ID
- <87ft4vnl7j.fsf@evledraar.gmail.com>
- In-Reply-To
- <987d1d186fd68d604268f9a66118b7f276094daf.1606419752.git.gitgitgadget@gmail.com>
On Thu, Nov 26 2020, Han-Wen Nienhuys via GitGitGadget wrote:
> From: Han-Wen Nienhuys <hanwen@google.com> > > This commit provides basic utility classes for the reftable library.
Re Johannes's comments in v2 (https://lore.kernel.org/git/nycvar.QRO.7.76.6.2010021557570.50@tvgsbejvaqbjf.bet/) about strbuf.c etc. being duplicated I see that's gone now.
It seems you did some version of my suggestion in https://lore.kernel.org/git/873625i9tc.fsf@evledraar.gmail.com/ of factoring out that code, except here:
Show 8 quoted lines
> [...] > +#ifdef REFTABLE_STANDALONE > + > +/* functions that git-core provides, for standalone compilation */ > +#include <stdint.h> > + > +uint64_t get_be64(void *in); > +void put_be64(void *out, uint64_t i);
It's unclear whether that's an omission, or needed for some reason (is git.git ever going to have REFTABLE_STANDALONE=true?
The update shellscript is also gone from v2->v3, is that out of tree now somewhere? How does one test with the upstream code & presumably do some munging on it to make it diff-able with what's going to be in git.git?
It would be really useful to have that sort of info/summary in the cover letter between serieses. It's not that I mind e.g. having some of this REFTABLE_STANDALONE code here. Just having to do archaeology trying to figure out changes in this rather large series...