summaryrefslogtreecommitdiff
path: root/check_bindir
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-03-26 09:42:31 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-27 10:23:40 -0700
commit5d0bc90e5de37c708f0856aef2c7b353a9d5030b (patch)
tree10f9023727c946102a744b3e318a405c05d6e531 /check_bindir
parentpath.c: move some code out of strbuf_git_path_submodule() (diff)
downloadtgif-5d0bc90e5de37c708f0856aef2c7b353a9d5030b.tar.xz
refs: move submodule code out of files-backend.c
files-backend is now initialized with a $GIT_DIR. Converting a submodule path to where real submodule gitdir is located is done in get_ref_store(). This gives a slight performance improvement for submodules since we don't convert submodule path to gitdir at every backend call like before. We pay that once at ref-store creation. More cleanup in files_downcast() and files_assert_main_repository() follows shortly. It's separate to keep noises from this patch. 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 'check_bindir')
0 files changed, 0 insertions, 0 deletions