-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
--hidden + .ignore showing ignored files inside hidden directories #807
Labels
bug
A bug.
Comments
FYI, the problem doesn't occur if you do |
@okdana's observation was spot-on and led me to exactly the place where this needed to be fixed. Thanks @dan-santana for the awesome bug report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of ripgrep are you using?
ripgrep 0.8.0
-SIMD -AVX
What operating system are you using ripgrep on?
Arch Linux
Describe your question, feature request, or bug.
The
--hidden
and.ignore
file combination is not working well for ignored files inside hidden directories e.g. a.a/b/c
file shouldn't appear if.ignore
contains.a/b
.If this is a bug, what are the steps to reproduce the behavior?
If this is a bug, what is the actual behavior?
This is the current output:
If this is a bug, what is the expected behavior?
The same files shown by
git status
(after agit init && git add .
):As you can see, the
.a/b/file
was ommited by Git, but not by ripgrep.The text was updated successfully, but these errors were encountered: