From: Nguyễn Thái Ngọc Duy Date: Sun, 26 Mar 2017 02:42:30 +0000 (+0700) Subject: path.c: move some code out of strbuf_git_path_submodule() X-Git-Tag: v2.13.0-rc0~9^2~11 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/bbbb7de7ac69e66c9263bd0e220172fe717b3f54?hp=bbbb7de7ac69e66c9263bd0e220172fe717b3f54 path.c: move some code out of strbuf_git_path_submodule() refs is learning to avoid path rewriting that is done by strbuf_git_path_submodule(). Factor out this code so it could be reused by refs_* functions. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---