diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-02-10 12:16:15 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-10 11:13:26 -0800 |
commit | 7d4558c462f0d1a280abec59e8c64a2f2b42a9f2 (patch) | |
tree | 4ada4c9cf5945be7303b01dbfb1673ed91c8d5d7 /refs | |
parent | ba88add58176a883e4137ee9bb5e66235799a9d9 (diff) | |
download | git-7d4558c462f0d1a280abec59e8c64a2f2b42a9f2.tar.gz git-7d4558c462f0d1a280abec59e8c64a2f2b42a9f2.tar.xz |
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')
-rw-r--r-- | refs/refs-internal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h index d8a7eb184..07fd208f2 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; }; /* |