]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/odb-drop-whence' into jch jch
authorJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:14 +0000 (13:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 24 Jun 2026 20:21:14 +0000 (13:21 -0700)
commit181d490ed5de5510c8cb1937dc3512abc8bed166
treee45bb62022f36643fb0e84a44e174371b5d9409f
parent56abfe67635b42158bbbee6c6e7b59d66a2c8f9a
parent59e8a22602709e8e84ef93ba2145f85e4bbfdf6c
Merge branch 'ps/odb-drop-whence' into jch

The whence field in struct object_info has been removed,
refactoring backend-specific object information retrieval into an
opt-in struct object_info_source structure.

* ps/odb-drop-whence:
  odb: document object info fields
  odb: drop `whence` field from object info
  treewide: convert users of `whence` to the new source field
  odb: add `source` field to struct object_info_source
  odb: make backend-specific fields optional
  packfile: thread odb_source_packed through packed_object_info()
builtin/cat-file.c
builtin/pack-objects.c
odb/source-inmemory.c
odb/source-loose.c
odb/source-packed.c