summaryrefslogtreecommitdiff
path: root/t/t7519/fsmonitor-none
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2018-02-10 13:38:29 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-12 13:09:35 -0800
commitd60771e93046e9e11183c6ff1fcafd334f8c0453 (patch)
treeb104f07d171ab35990d422e29534e2a5e6d67bb3 /t/t7519/fsmonitor-none
parentGit 2.14.3 (diff)
downloadtgif-d60771e93046e9e11183c6ff1fcafd334f8c0453.tar.xz
check-ignore: fix mix of directories and other file types
In check_ignore(), the first pathspec item determines the dtype for any subsequent ones. That means that a pathspec matching a regular file can prevent following pathspecs from matching directories, which makes no sense. Fix that by determining the dtype for each pathspec separately, by passing the value DT_UNKNOWN to last_exclude_matching() each time. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7519/fsmonitor-none')
0 files changed, 0 insertions, 0 deletions