-
-
Notifications
You must be signed in to change notification settings - Fork 948
Open
Labels
Description
Checks
- I have read the troubleshooting section and still think this is a bug.
Describe the bug you encountered:
Given the following .gitignore file and example:
**/.DS_Storelocal defaultArg=(--hidden --no-ignore-vcs --no-ignore-parent)
fd $arg --no-require-git --ignore-vcs '(store|container)'
# .DS_Store is returned in the results Describe what you expected to happen:
I would expect it to override the previously specified flag1, given that --ignore-vcs is actually the default behavior and would otherwise not be useful to the user.
Also, the documentation states that it does override it:
Lines 77 to 79 in 6dfbbe8
| /// Overrides --no-ignore-vcs | |
| #[arg(long, overrides_with = "no_ignore_vcs", hide = true, action = ArgAction::SetTrue)] | |
| ignore_vcs: (), |
What version of fd are you using?
fd 10.2.0
Which operating system / distribution are you on?
Darwin 23.6.0 arm64Footnotes
-
(namely - the exact opposing flag that it corresponds to) ↩