From: Nguyễn Thái Ngọc Duy Date: Wed, 23 Aug 2017 12:36:50 +0000 (+0700) Subject: refs.c: use is_dir_sep() in resolve_gitlink_ref() X-Git-Tag: v2.15.0-rc0~92^2~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ee394bd376e833d8e9e38f81c57f6b4a370e8a92?ds=inline;hp=ee394bd376e833d8e9e38f81c57f6b4a370e8a92 refs.c: use is_dir_sep() in resolve_gitlink_ref() The "submodule" argument in this function is a path, which can have either '/' or '\\' as a separator. Use is_dir_sep() to support both. Noticed-by: Johannes Sixt Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---