Thread (112 messages) flat view 112 messages, 5 authors, 28d ago

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help