]> git.ipfire.org Git - thirdparty/git.git/commit
object-file: move loose object map into loose source
authorPatrick Steinhardt <ps@pks.im>
Mon, 3 Nov 2025 07:42:03 +0000 (08:42 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Nov 2025 20:18:47 +0000 (12:18 -0800)
commit376016ec71c3a6c883f2ca77a3f1c0245fd60dc2
tree08054af9332263791881c4f59656a8dab042fa0d
parentbe659c97eae3b68e38b71f0a67067dede23903b5
object-file: move loose object map into loose source

The loose object map is used to map from the repository's canonical
object hash to the compatibility hash. As the name indicates, this map
is only used for loose objects, and as such it is tied to a specific
loose object source.

Same as with preceding commits, move this map into the loose object
source accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
loose.c
object-file.c
object-file.h
odb.c
odb.h