]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
refs.c: flatten get_ref_store() a bit
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 26 Mar 2017 02:42:27 +0000 (09:42 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Mar 2017 17:23:39 +0000 (10:23 -0700)
commit126c9e05765330d29c973934598876cdea50b5df
treec5412d9d141e8e5e681d2bc2b348d878bd7307ad
parent9476c6ed3dcf89b045d567c153f50de9528dd0ba
refs.c: flatten get_ref_store() a bit

This helps the future changes in this code. And because get_ref_store()
is destined to become get_submodule_ref_store(), the "get main store"
code path will be removed eventually. After this the patch to delete
that code will be cleaner.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c