attr_file.c
21.4 KB
-
ignore: Do not match on prefix of negated patterns · 12bc7181
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