Re: [PATCH GSoC v2 4/6] fetch-object-info: parse type from server response
From: Junio C Hamano <hidden> Date: 2026-08-02 22:24:06
Jeff King [off-list ref] writes:
So for unknown objects, I think a separate bit is less awkward.
OK.
For signaling "the server refused to tell us this item" we could use
sentinel types like OBJ_NONE. But I don't think that extends to other
fields (e.g., there is no useful sentinel value for "size").
True, unless we abuse things like ((size_t)-1), which I think I saw
somewhere in recently posted patches.