]> git.ipfire.org Git - thirdparty/git.git/commit
refs: store submodule ref stores in a hashmap
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 10 Feb 2017 11:16:15 +0000 (12:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Feb 2017 19:13:26 +0000 (11:13 -0800)
commit7d4558c462f0d1a280abec59e8c64a2f2b42a9f2
tree4ada4c9cf5945be7303b01dbfb1673ed91c8d5d7
parentba88add58176a883e4137ee9bb5e66235799a9d9
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>
refs.c
refs/refs-internal.h