File tree Expand file tree Collapse file tree 4 files changed +147
-113
lines changed Expand file tree Collapse file tree 4 files changed +147
-113
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ New features:
2222
2323Bug fixes:
2424
25+ - `Issue #81 `_: GitIgnoreSpec behaviors differ from git.
2526- `Pull #83 `_: Fix ReadTheDocs builds.
2627
2728Improvements:
@@ -32,6 +33,7 @@ Improvements:
3233- Improve type hint on *on_error * parameter on `pathspec.util.iter_tree_entries() `.
3334
3435
36+ .. _`Issue #81` : https://github.com/cpburnz/python-pathspec/issues/81
3537.. _`Pull #82` : https://github.com/cpburnz/python-pathspec/pull/82
3638.. _`Pull #83` : https://github.com/cpburnz/python-pathspec/pull/83
3739
Original file line number Diff line number Diff line change @@ -138,9 +138,6 @@ def _match_file(
138138 # Check for directory marker.
139139 dir_mark = match .match .groupdict ().get (_DIR_MARK )
140140
141- # TODO: A exclude (whitelist) dir pattern here needs to deprioritize
142- # for 81-c.
143-
144141 if dir_mark :
145142 # Pattern matched by a directory pattern.
146143 priority = 1
You can’t perform that action at this time.
0 commit comments