Thread (6 messages) 6 messages, 3 authors, 1d ago

Re: [PATCH v2] pack-bitmap: handle objects at bitmap position zero

From: Junio C Hamano <hidden>
Date: 2026-07-28 22:46:41

David Lin [off-list ref] writes:
`bitmap_position()` only returns a negative value when an object is not
present in the bitmap index.
...
Also cover the non-pseudo-merge case by passing `HEAD` twice. The first
occurrence initializes the base from its stored bitmap, and the second
must recognize that position zero is already present.

Helped-by: Taylor Blau [off-list ref]
Signed-off-by: David Lin <redacted>
---
Changes since v1:
- Clarify the bitmap disk load wordings.
- Add coverage for the non-pseudo-merge case.
Thanks, both of you.  Will queue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help