mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-03-23 13:35:07 +00:00
support */dir1 pattern on ignore
This commit is contained in:
8
CONTRIBUTING.md
vendored
8
CONTRIBUTING.md
vendored
@@ -161,6 +161,14 @@ dynvariables:
|
||||
|
||||
## Ignore pattern
|
||||
|
||||
Officially only `*/file` and `*/dir/*` should be used for ignore pattern.
|
||||
However we still recursively process each path components to ensure
|
||||
that pattern like `*/dir` are matched (see `_match_ignore_pattern`
|
||||
in `utils.py`).
|
||||
|
||||
We also append a separator to directory before checking
|
||||
for a match with the ignore patterns.
|
||||
|
||||
**compare**
|
||||
|
||||
* for files, match with ignore directly
|
||||
|
||||
Reference in New Issue
Block a user