Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-02-10 14:16:15 +0300
committerJunio C Hamano <gitster@pobox.com>2017-02-10 22:13:26 +0300
commit7d4558c462f0d1a280abec59e8c64a2f2b42a9f2 (patch)
tree4ada4c9cf5945be7303b01dbfb1673ed91c8d5d7 /refs/refs-internal.h
parentba88add58176a883e4137ee9bb5e66235799a9d9 (diff)
refs: store submodule ref stores in a hashmap
Aside from scaling better, this means that the submodule name needn't be stored in the ref_store instance anymore (which will be changed in a moment). This, in turn, will help loosen the strict 1:1 relationship between ref_stores and submodules. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r--refs/refs-internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index d8a7eb1841..07fd208f2c 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -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;
};
/*