From: Toon Claes Date: Thu, 03 Apr 2025 18:24:12 GMT Subject: Re: [PATCH v2 09/10] builtin/cat-file: deduplicate logic to iterate over all objects Message-ID: <87a58xf6ib.fsf@iotcl.com> In-Reply-To: Patrick Steinhardt 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