]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
refs.c: make get_main_ref_store() public and use it
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 26 Mar 2017 02:42:29 +0000 (09:42 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Mar 2017 17:23:39 +0000 (10:23 -0700)
commit077be78d7ff0d44cab311da315b2f8dbd2a0d57b
tree1be9188fd97c11e6de6bf0de2a62ca49c62972b0
parent378dc9103a6b36ecac5f63eb0d5a87f573081094
refs.c: make get_main_ref_store() public and use it

get_ref_store() will soon be renamed to get_submodule_ref_store().
Together with future get_worktree_ref_store(), the three functions
provide an appropriate ref store for different operation modes. New APIs
will be added to operate directly on ref stores.

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