Re: [PATCH 06/13] oidset: introduce `oidset_equal()`
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 19, 2025, 20:59 UTC
- Message-ID
- <xmqq8qg1buwv.fsf@gitster.g>
- In-Reply-To
- <20251119-b4-pks-odb-creation-v1-6-2b2ed2612cb6@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 5 quoted lines
> Introduce a new function that allows the caller to verify whether two > oidsets contain the exact same object IDs. > > Note that this change requires us to change `oidset_iter_init()` to > accept a `const struct oidset`.
Iterator shouldn't mutate the set it is iterating over, so that sounds good.