diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-01-09 09:33:18 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-09 06:40:08 -0800 |
| commit | a282a8f163fa70f9eacc880e6188141cef917058 (patch) | |
| tree | 3c9068b3cd364c911013c3fa59097eadaa960639 /odb.h | |
| parent | a593373b097322adc74aa5f9614c7650f87ebed9 (diff) | |
| download | git-a282a8f163fa70f9eacc880e6188141cef917058.tar.xz | |
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>
Diffstat (limited to 'odb.h')
| -rw-r--r-- | odb.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -55,13 +55,6 @@ struct odb_source { struct packfile_store *packfiles; /* - * private data - * - * should only be accessed directly by packfile.c and midx.c - */ - struct multi_pack_index *midx; - - /* * Figure out whether this is the local source of the owning * repository, which would typically be its ".git/objects" directory. * This local object directory is usually where objects would be |
