Skip to content

Commit 45c9b62

Browse files
committed
Adjust Precedence section intro
Signed-off-by: Lars Bergmann <L.Bergmann@mittwald.de>
1 parent ce90b3d commit 45c9b62

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎docs/cbmignore.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ snapshots/
6363

6464
## Precedence
6565

66-
Discovery applies its filters in a fixed order — the first layer that rejects
67-
a path wins. For directories:
66+
Discovery applies its filters in a fixed order. In general, the first layer
67+
that rejects a path wins, except `.cbmignore` negations (layer 4) can un-skip
68+
ordinary built-in skip directories from layer 1 and rescue paths from layer 5.
69+
For directories:
6870

6971
1. **Built-in skip list** — `.git`, `node_modules`, `dist`, `target`,
7072
`vendor`, tool caches, etc. (60+ names; the fast/moderate index modes add

0 commit comments

Comments
 (0)