pub fn attribute_files_under(work_tree: &Path) -> Vec<PathBuf>Expand description
Every .gitattributes in the working tree under work_tree, sorted
shallowest first, ties by path.
For questions about the whole tree, which a lazy resolver can no longer
answer: the status note about foreign filter lines exists precisely to
name an attributes file that reaches paths the index does not hold yet —
a file that may sit in a directory with no tracked path, which is exactly
the file no ancestor probe would ever visit. The sort is the resolver’s own
precedence order — shallowest first — so the note reads the same as it did
when the resolver’s source list fed it.