summaryrefslogtreecommitdiff
path: root/t/t4120-apply-popt.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2014-01-24 20:40:32 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-02-24 14:37:19 -0800
commit68690fdd0b78762eb6387d7a437b588d15b6cf47 (patch)
tree892afc2e10d1e91caa2f8a78a3cb544209400154 /t/t4120-apply-popt.sh
parentdir.c: prepare match_pathspec_item for taking more flags (diff)
downloadtgif-68690fdd0b78762eb6387d7a437b588d15b6cf47.tar.xz
match_pathspec: match pathspec "foo/" against directory "foo"
Currently we do support matching pathspec "foo/" against directory "foo". That is because match_pathspec() has no way to tell "foo" is a directory and matching "foo/" against _file_ "foo" is wrong. The callers can now tell match_pathspec if "foo" is a directory, we could make an exception for this case. Code is not executed though because no callers pass the flag yet. 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/t4120-apply-popt.sh')
0 files changed, 0 insertions, 0 deletions