]> git.ipfire.org Git - thirdparty/git.git/commitdiff
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)
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()

1  2 
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

Simple merge
Simple merge
diff --cc odb.c
Simple merge
diff --cc odb.h
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc packfile.c
Simple merge