Re: [PATCH v2 09/10] builtin/cat-file: deduplicate logic to iterate over all objects
- From
Toon Claes <toon@iotcl.com>
- Date
- Apr 3, 2025, 18:24 UTC
- Message-ID
- <87a58xf6ib.fsf@iotcl.com>
- In-Reply-To
- <Z-0byX56V2E1pGKO@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
> Because the payload gets forwarded to the callback, and that callback > accepts arbitrary types. You can already see this now: we call the > function once with a `struct object_cb_data` pointer, and once with a > `struct oid_array` pointer.
Thanks for your replies, it all makes sense now. I've got no further comments.
I approve.
-- Toon