Nits: s/targetting/targeting/ in the subject line. On 03/26/2017 04:42 AM, Nguyễn Thái Ngọc Duy wrote: > A small step towards making files-backend works as a non-main ref store > using the newly added store-aware API. s/works/work/ > For the record, `join` and `nm` on refs.o and files-backend.o tell me > that files-backend no longer uses functions that defaults to > get_main_ref_store(). s/defaults/default/ > 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. > [...] Michael