Currently when searching inside cwd, with glob like foo/**/*, really we are searching only inside cwd/foo. That is potentially a problem for discovering .gitignore files.
When ignoreFilesFindAbove is true we may be missing cwd/.gitignore.
When ignoreFilesFindAbove is false it's unclear whether we should actually read cwd/.gitignore or not.
Currently when searching inside
cwd
, with glob likefoo/**/*
, really we are searching only insidecwd/foo
. That is potentially a problem for discovering.gitignore
files.ignoreFilesFindAbove
istrue
we may be missingcwd/.gitignore
.ignoreFilesFindAbove
isfalse
it's unclear whether we should actually readcwd/.gitignore
or not.