Re: [PATCH GSoC v2 4/6] fetch-object-info: parse type from server response
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 2, 2026, 16:35 UTC
- Message-ID
- <xmqq8q6o4h09.fsf@gitster.g>
- In-Reply-To
- <20260802154309.GA17844@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> I think the "after the dust settles" suggestion was for changing the > interface of "struct object_info". That all becomes moot if we stop > using it here entirely. So I think you should proceed along the lines of > the object_info_results you showed above.
OK, if we are not using object_info structure at all, then I do not think it matters all that much if it is a struct of arrays or an array of structs (even though I suspect the latter would be cleaner).
But I'd rather see it named differently, leaving no room to be confused with the existing object_info structure.
Thanks.