fn gitignore_excludes(root: &Path, path: &Path) -> boolExpand description
Honour .gitignore / .ignore from the index root down to path.
Never reads a file above root. A ! whitelist in those files cannot
undo ExclusionMatcher::is_excluded secret/hidden decisions because
those run first.