]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/odb-drop-whence'
authorJunio C Hamano <gitster@pobox.com>
Wed, 15 Jul 2026 20:24:18 +0000 (13:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 Jul 2026 20:24:18 +0000 (13:24 -0700)
commita9d2d2acdeafaebc90858e83bc6114f929d303f3
treeae0aca00d89034f0d04ba29ccf5e462f2da66a8b
parent85ba07499bc3e09bd00e5b94f733eb7f0409a419
parent8a7ad23e11de9a1de0d16a3aaddb840be768ab30
Merge branch 'ps/odb-drop-whence'

The 'whence' field in 'struct object_info' has been removed.  The
backend-specific object information retrieval has been refactored 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.c
odb.h
odb/source-inmemory.c
odb/source-loose.c
odb/source-packed.c
packfile.c