]> git.99rst.org Git - git.git/commit
odb/source-packed: support flags when iterating an object prefix
authorPatrick Steinhardt <redacted>
Thu, 25 Jun 2026 09:57:40 +0000 (11:57 +0200)
committerJunio C Hamano <redacted>
Thu, 25 Jun 2026 20:20:20 +0000 (13:20 -0700)
commit8ed957112de135f449698e9408f2582eabb9401e
tree877168c4ebaf781e1869e9c5dd9c28d11b646b4f
parentd45f956f2022a90d39b1ce82aea668cce73f1d75
odb/source-packed: support flags when iterating an object prefix

Callers of `odb_for_each_object()` can specify an optional object name
prefix so that we only yield objects that match it. This is incompatible
though with passing flags at the same time, as we don't yet know to
handle them.

Loosen this restriction by calling `should_exclude_pack()`.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
odb/source-packed.c
git clone https://git.99rst.org/PROJECT