Re: [PATCH v3 11/16] refs.c: kill register_ref_store(), add register_submodule_ref_store()

2017-02-17 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > This is the last function in this code (besides public API) that takes > submodule argument and handles both main/submodule cases. Break it down, > move main store registration in get_main_ref_store() and keep the rest > in

[PATCH v3 11/16] refs.c: kill register_ref_store(), add register_submodule_ref_store()

2017-02-17 Thread Nguyễn Thái Ngọc Duy
This is the last function in this code (besides public API) that takes submodule argument and handles both main/submodule cases. Break it down, move main store registration in get_main_ref_store() and keep the rest in register_submodule_ref_store(). Signed-off-by: Nguyễn Thái Ngọc Duy