From: Toon Claes Date: Fri, 28 Aug 2026 14:53:30 GMT Subject: Re: [PATCH 6/8] odb/source: support writing alternates when creating the database Message-ID: <8733vyuwid.fsf@emacs.iotcl.com> In-Reply-To: <20260825-pks-odb-write-alternates-at-creation-time-v1-6-911513ba95c3@pks.im> Patrick Steinhardt writes: > Add the ability to write alternates when creating the object database. > This change allows us to remove the `write_alternates()` callback in a > subsequent patch. > > Signed-off-by: Patrick Steinhardt > --- > odb/source-files.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- > odb/source.h | 18 +++++++++++--- > setup.c | 4 ++- > 3 files changed, 89 insertions(+), 6 deletions(-) > > diff --git a/odb/source.h b/odb/source.h > index ea8675247e..86b82fab3b 100644 > --- a/odb/source.h > +++ b/odb/source.h > @@ -5,6 +5,7 @@ > #include "object.h" > #include "odb.h" > #include "odb/transaction.h" > +#include "strvec.h" I see `struct strvec;` is already defined below odb_source_type_to_name(). Can we not include this and put the new struct below the strvec definition? -- Laters, Toon