From: Junio C Hamano Date: Wed, 22 Jul 2026 17:30:54 +0000 (-0700) Subject: Merge branch 'ps/odb-for-each-object-filter' X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=518368999ab46b000287a37e1a0c63585fe8e32c;p=git.git 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 --- 518368999ab46b000287a37e1a0c63585fe8e32c