]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/odb-for-each-object' into next
authorJunio C Hamano <gitster@pobox.com>
Sun, 22 Feb 2026 20:27:57 +0000 (12:27 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Feb 2026 20:27:57 +0000 (12:27 -0800)
commit80178ecd0d05deca5226ecbbe79ecdc9b01e45a3
tree7e64a929655581117476783ca88fa7408bffe78a
parent4a7958ca1415077ce9b1d0a38223ede55da779d9
parent3565faf28c2059c6260d53ac71a303b1c04b0a7b
Merge branch 'ps/odb-for-each-object' into next

Revamp object enumeration API around odb.

* ps/odb-for-each-object:
  odb: drop unused `for_each_{loose,packed}_object()` functions
  reachable: convert to use `odb_for_each_object()`
  builtin/pack-objects: use `packfile_store_for_each_object()`
  odb: introduce mtime fields for object info requests
  treewide: drop uses of `for_each_{loose,packed}_object()`
  treewide: enumerate promisor objects via `odb_for_each_object()`
  builtin/fsck: refactor to use `odb_for_each_object()`
  odb: introduce `odb_for_each_object()`
  packfile: introduce function to iterate through objects
  packfile: extract function to iterate through objects of a store
  object-file: introduce function to iterate through objects
  object-file: extract function to read object info from path
  odb: fix flags parameter to be unsigned
  odb: rename `FOR_EACH_OBJECT_*` flags
builtin/cat-file.c
builtin/fsck.c
builtin/pack-objects.c
commit-graph.c
object-file.c
object-file.h
odb.c
odb.h
repack-promisor.c
revision.c