]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs/refs-internal.h
refs: store submodule ref stores in a hashmap
[thirdparty/git.git] / refs / refs-internal.h
index 708b26082aebcc4c0f9c215db4c96dce15beec67..07fd208f2c172ef567cf064660d649e35d69b25b 100644 (file)
@@ -636,12 +636,6 @@ struct ref_store {
         * reference store:
         */
        const char *submodule;
-
-       /*
-        * Submodule reference store instances are stored in a linked
-        * list using this pointer.
-        */
-       struct ref_store *next;
 };
 
 /*
@@ -652,25 +646,6 @@ void base_ref_store_init(struct ref_store *refs,
                         const struct ref_storage_be *be,
                         const char *submodule);
 
-/*
- * Create, record, and return a ref_store instance for the specified
- * submodule (or the main repository if submodule is NULL).
- *
- * For backwards compatibility, submodule=="" is treated the same as
- * submodule==NULL.
- */
-struct ref_store *ref_store_init(const char *submodule);
-
-/*
- * Return the ref_store instance for the specified submodule (or the
- * main repository if submodule is NULL). If that ref_store hasn't
- * been initialized yet, return NULL.
- *
- * For backwards compatibility, submodule=="" is treated the same as
- * submodule==NULL.
- */
-struct ref_store *lookup_ref_store(const char *submodule);
-
 /*
  * Return the ref_store instance for the specified submodule. For the
  * main repository, use submodule==NULL; such a call cannot fail. For