Re: [PATCH 03/14] odb: introduce `struct odb_for_each_object_options`
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 19, 2026, 14:25 UTC
- Message-ID
- <xmqqse9vnbgb.fsf@gitster.g>
- In-Reply-To
- <20260319-b4-pks-odb-source-abbrev-v1-3-5ddebad292b0@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> While we could of course add the prefix to the function signature, or > alternative introduce a new function, both of these options don't really > seem to be that sensible.
"alternative" -> "alternatigvely"?
> Instead, introduce a new `struct odb_for_each_object_options` that can > be passed to a new `odb_for_each_object_ext()` function. Splice through > the options structure into the respective object database sources.
A lot of churn, but we only need to suffer once and reap a lot of benefit later, I guess ;-).