]> git.99rst.org Git - git.git/commit
Merge branch 'ps/odb-for-each-object-filter'
authorJunio C Hamano <redacted>
Wed, 22 Jul 2026 17:30:54 +0000 (10:30 -0700)
committerJunio C Hamano <redacted>
Wed, 22 Jul 2026 17:30:54 +0000 (10:30 -0700)
commit518368999ab46b000287a37e1a0c63585fe8e32c
tree8444e2cd66823e30cc8c740dd6b2707b885ae6c6
parent88620f05acd5e5506efbb583704c73937379d3d4
parentbfa86e6a3a80b910f0875350d747f7a831694b18
Merge branch 'ps/odb-for-each-object-filter'

The object database enumeration interface odb_for_each_object() has
been taught to accept object filters, allowing the underlying backends
to optimize the traversal by using reachability bitmaps when
available.  'git cat-file --batch-all-objects' has been updated to use
this generic interface, simplifying its code and avoiding direct
access to ODB backend internals.

* ps/odb-for-each-object-filter:
  builtin/cat-file: filter objects via object database
  odb: introduce object filters to `odb_for_each_object()`
  pack-bitmap: introduce function to open bitmap for a single source
  pack-bitmap: drop `_1` suffix from functions that open bitmaps
  pack-bitmap: iterate object sources when opening bitmaps
  pack-bitmap: allow aborting iteration of bitmapped objects
  pack-objects: drop unused return value from add_object_entry()
  pack-bitmap: mark object filter as `const`
  odb/source-packed: improve lookup when enumerating objects
odb.h
odb/source-packed.c
pack-bitmap.c
git clone https://git.99rst.org/PROJECT