summaryrefslogtreecommitdiff
path: root/t/t9103-git-svn-tracked-directory-removed.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-01-24 20:40:34 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-02-24 14:37:24 -0800
commit05b85022c9a76954a1a281a5dc5bcd32ad486b88 (patch)
treec68fe0fd951e123cf8edd3075c68ed36c232e091 /t/t9103-git-svn-tracked-directory-removed.sh
parentpathspec: pass directory indicator to match_pathspec_item() (diff)
downloadtgif-05b85022c9a76954a1a281a5dc5bcd32ad486b88.tar.xz
clean: replace match_pathspec() with dir_path_match()
This instance was left out when many match_pathspec() call sites that take input from dir_entry were converted to dir_path_match() because it passed a path with the trailing slash stripped out to match_pathspec() while the others did not. Stripping for all call sites back then would be a regression because match_pathspec() did not know how to match pathspec foo/ against _directory_ foo (the stripped version of path "foo/"). match_pathspec() knows how to do it now. And dir_path_match() strips the trailing slash also. Use the new function, because the stripping code is removed in the next 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 't/t9103-git-svn-tracked-directory-removed.sh')
0 files changed, 0 insertions, 0 deletions