From: Junio C Hamano Date: Fri, 17 Feb 2017 19:29:31 GMT Subject: Re: [PATCH v3 11/16] refs.c: kill register_ref_store(), add register_submodule_ref_store() Message-ID: In-Reply-To: <20170217140436.17336-12-pclouds@gmail.com> 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 register_submodule_ref_store(). Very nice.