Move offset_1st_component() to path.c
The implementation is also lightly modified to use is_dir_sep() instead of hardcoding '/'. Signed-off-by: NNguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录