-
-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buggy behavior for '--exclude dir/sub' #865
Comments
|
Ah, I think this might be because of BurntSushi/ripgrep#278 (see also BurntSushi/ripgrep#829). It's a bug in the |
Has it been fixed in ripgrep or should the issue be created in the ignore crate ? |
Those issues are already reported against the repo that contains the |
Yes, the |
Describe the bug you encountered:
With the following setup :
can be created by running :
using
--exclude dir1/sub
:but searching in
dir1 dir2
applies the exclude pattern in an odd way :Describe what you expected to happen:
I would have expected an output similar to when searching in
.
:What version of
fd
are you using?Which operating system / distribution are you on?
extra notes
using a
--ignore-file
with contentdir1/sub
works as expected in both cases.Here is a bash script that reproduces the issue :
issue.txt
it creates an
issue/
directory next to the script, and cd into that directory :The text was updated successfully, but these errors were encountered: