]> git.ipfire.org Git - thirdparty/git.git/commit
packfile: move MIDX into packfile store
authorPatrick Steinhardt <ps@pks.im>
Thu, 18 Dec 2025 06:55:29 +0000 (07:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Dec 2025 11:34:38 +0000 (20:34 +0900)
commitce5f04e0c618f538fcd79bceda3603d570cb140b
treeb2f825bc4a004165274d291d62dd3d29bdd89110
parentedcc9b859330b07e1510154e3d6da06206a84834
packfile: move MIDX into packfile store

The multi-pack index still is tracked as a member of the object database
source, but ultimately the MIDX is always tied to one specific packfile
store.

Move the structure into `struct packfile_store` accordingly. This
ensures that the packfile store now keeps track of all data related to
packfiles.

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