ignore.c
36.1 KB
-
ignore: Do not match on prefix of negated patterns · e3d7bccb
Matching on the prefix of a negated pattern was triggering false negatives on siblings of that pattern. e.g. Given the .gitignore: dir/* !dir/sub1/sub2/** The path `dir/a.text` would not be ignored.
Steve King Jr committed