Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 400 Bytes

NOTES.md

File metadata and controls

8 lines (7 loc) · 400 Bytes

How to handle negations?

git ls-files -o -i --exclude-standard "<git root>" will get you all the ignored files explicitly. We could use that to handle the negated ignores (by plugging that output into wildignore rather than the wildcards). The downside to that solution is how horribly inefficient it seems, to explicitly name the ignored files (individually) as opposed to using wildcards.