Sync 'ds/multi-pack-index' to v2.19.0-rc0
[gitweb.git] / object-store.h
index 67e66227d9c41e2f3036d0aeb89afaf5a17ec98a..97f1c160e59b96b63011afea03e8c0a9e8f521d1 100644 (file)
@@ -88,6 +88,8 @@ struct packed_git {
        char pack_name[FLEX_ARRAY]; /* more */
 };
 
+struct multi_pack_index;
+
 struct raw_object_store {
        /*
         * Path to the repository's object store.
@@ -110,6 +112,13 @@ struct raw_object_store {
        struct commit_graph *commit_graph;
        unsigned commit_graph_attempted : 1; /* if loading has been attempted */
 
+       /*
+        * private data
+        *
+        * should only be accessed directly by packfile.c and midx.c
+        */
+       struct multi_pack_index *multi_pack_index;
+
        /*
         * private data
         *