docs(fermata): the page names the spaced exclude flag a rule still stops

This commit is contained in:
2026-11-07 09:51:52 +01:00
parent b9e8e52731
commit 938ce2d766
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ The guard stops a Write or Edit that adds a mask to a file. It does not cover th
- A verb given by a path counts as no metadata verb: `/bin/ls .env`.
- `git` with any flag before its command other than `--no-pager`, `-P`, `--no-optional-locks` and `-C`: `git -c core.pager=x status .env`.
- A word with a separator and `$`, `*` or `?` may be a path once the shell expands it: `git log vendor/$BRANCH`, `curl example.invalid/vendor/$ID`, `composer require vendor/*` under a rule on `vendor/`.
- The text after `=` in a flag off the short exclude list: `tool --name=.env`.
- The text after `=` in a flag off the short exclude list: `tool --name=.env`. The spaced form of an exclude flag counts only for `grep`, `tar` and `rsync`: `git log --grep .env`.
- A value flag of a tool other than `grep` and `rg`, or one off their list: `grep --color always .env a.txt` takes `always` as the pattern.
(Test for all five: `a_harmless_command_a_rule_still_stops`.)