From: Nguyễn Thái Ngọc Duy Date: Sun, 26 Mar 2017 02:42:23 +0000 (+0700) Subject: files-backend: add and use files_ref_path() X-Git-Tag: v2.13.0-rc0~9^2~18 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/19e02f4f46c46bcd2544e5811953a4ee324f2f7c?hp=19e02f4f46c46bcd2544e5811953a4ee324f2f7c files-backend: add and use files_ref_path() Keep repo-related path handling in one place. This will make it easier to add submodule/multiworktree support later. This automatically adds the "if submodule then use the submodule version of git_path" to other call sites too. But it does not mean those operations are submodule-ready. Not yet. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---