pub fn list_lfs_patterns(repo_root: &Path) -> Result<PatternListing>Expand description
Walk .gitattributes across the workdir plus .git/info/attributes
and the user’s core.attributesfile (if configured), extracting
LFS-related pattern lines for git lfs track’s listing mode.
Pattern matching is not needed here — we’re just enumerating the raw
pattern text per source file — so this uses a simple line tokenizer
rather than AttrSet’s full wildmatch machinery.