]> Kevux Git Server - rit/commit
packfile: move MIDX into packfile store
authorPatrick Steinhardt <ps@pks.im>
Fri, 9 Jan 2026 08:33:18 +0000 (09:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Jan 2026 14:40:08 +0000 (06:40 -0800)
commita282a8f163fa70f9eacc880e6188141cef917058
tree3c9068b3cd364c911013c3fa59097eadaa960639
parenta593373b097322adc74aa5f9614c7650f87ebed9
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