summaryrefslogtreecommitdiff
path: root/split-index.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-03-26 09:42:36 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-14 03:53:25 -0700
commit2f40e954723b861cb4a921d39d1ef0465410247e (patch)
tree59a29192eeb2c71d0825ddff359dc28a3eab6c99 /split-index.h
parentrefs: new transaction related ref-store api (diff)
downloadtgif-2f40e954723b861cb4a921d39d1ef0465410247e.tar.xz
files-backend: avoid ref api targeting main ref store
A small step towards making files-backend work as a non-main ref store using the newly added store-aware API. For the record, `join` and `nm` on refs.o and files-backend.o tell me that files-backend no longer uses functions that default to get_main_ref_store(). I'm not yet comfortable at the idea of removing files_assert_main_repository() (or converting REF_STORE_MAIN to REF_STORE_WRITE). More staring and testing is required before that can happen. Well, except peel_ref(). I'm pretty sure that function is safe. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'split-index.h')
0 files changed, 0 insertions, 0 deletions