From: Justin Tobler Date: Sun, 06 Sep 2026 17:02:57 GMT Subject: Re: [PATCH v2 6/8] odb/source: support writing alternates when creating the database Message-ID: In-Reply-To: <20260831-pks-odb-write-alternates-at-creation-time-v2-6-aecd2382ba1c@pks.im> On 26/08/31 12:02PM, Patrick Steinhardt wrote: > +struct odb_create_on_disk_options { > + /* > + * Alternates that shall be written into the newly created object > + * database. Whether or not this option can be handled is specific to > + * the backend. > + */ > + const struct strvec *alternates; > +}; So ODB interface here still exposes a way to signal alternates to the backend, but an alternative backend may not actually use alternates at all. Out of curiousity, does this mean git-clone(1) options such as "--shared" should only be allowed to work with the "files" backend? Or should the expected behavior of such options just be backend specific? -Justin