aboutsummaryrefslogtreecommitdiff
path: root/odb.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-01-09 09:33:18 +0100
committerJunio C Hamano <gitster@pobox.com>2026-01-09 06:40:08 -0800
commita282a8f163fa70f9eacc880e6188141cef917058 (patch)
tree3c9068b3cd364c911013c3fa59097eadaa960639 /odb.h
parenta593373b097322adc74aa5f9614c7650f87ebed9 (diff)
downloadgit-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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/odb.h b/odb.h
index c97b41c58c..300c3c0c46 100644
--- a/odb.h
+++ b/odb.h
@@ -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