]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/odb-drop-whence' into jch jch
authorJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 16:37:23 +0000 (09:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Jun 2026 16:37:24 +0000 (09:37 -0700)
commitc0e806ee1d44c4c568a91d6350cb392b62ea90af
tree09e7723c03e89c8ab90ac59aa1612bf2eac2d70a
parent5f05bad43ad0e2a7522c302a32ccb5edd8c44196
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