Differences
This shows you the differences between the selected revisions of the page.
2019-04-13 | 2020-03-03 | ||
no summary (37.106.129.69) | include mask excludes the rest (martin) | ||
Line 58: | Line 58: | ||
Both include and exclude part can be empty, denoting that everything is included or nothing is excluded, respectively. When include part is empty, masks starts with pipe straight away. When exclude part is empty, you can omit the trailing pipe. | Both include and exclude part can be empty, denoting that everything is included or nothing is excluded, respectively. When include part is empty, masks starts with pipe straight away. When exclude part is empty, you can omit the trailing pipe. | ||
- | Exclude mask takes precedence over include mask. I.e. when the same file is matched by both the exclude and include mask, it is excluded. | + | Exclude mask takes precedence over include mask. I.e. when the same file is matched by both the exclude and include mask, it is excluded. On the other hand, using an include mask effectively excludes all non included files and folders. |
To escape pipe character double it, e.g. ''filewith||pipe''. | To escape pipe character double it, e.g. ''filewith||pipe''. |