-
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
RipGrep ignoring files from a .gitignore in a parent directory #611
Comments
Could you please describe what you want in more precise terms? It would help if you gave an example. Namely, I don't know what you mean by "ignoring" |
Sorry I wasn't clear. I mean that the |
ripgrep doesn't load ignore rules from `.dockerignore` files. Please
provide a reproducible example so that I can help you figure out the actual
problem.
…On Sep 23, 2017 1:51 PM, "Sam Davies" ***@***.***> wrote:
@BurntSushi <https://github.com/burntsushi>
Sorry I wasn't clear.
I mean that the .dockerignore contains some ignore rules that I don't
want ripgrep to use. So how can I configure it not to load ignore rules
from this file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#611 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAb34kWg5SJvOeKcuJDM3T9dcSKYIvA2ks5slUUEgaJpZM4PhhiC>
.
|
Ahh, you are quite right. It only loads ignore matches from the I ran RipGrep again with
I have a directory called It seems that the rules from the |
The directory format looks like this:
|
How is it incorrect? The
You can use the
|
I dug into this further. Turns out it was a weird issue to do with submodules. Not a fault of RipGrep. This issue can be closed. Thanks for your help! ❤️ 💛 💙 💚 💜 |
Also, if your gitignore file contains an |
In the future, obese start by trying to recreate a minimal reproducible example. That will cut through most misunderstandings like a hot knife through butter. :-) |
I have a node app for which all of the useful application code is ignored by the
.dockerignore
since we only copy the compiled files to docker.The compiled files are useless for searching and are ignored by the
.gitignore
file, which is correct.I want to "ignore" the
.dockerignore
file. The docs don't seem to specify how to do that, is there a way?The text was updated successfully, but these errors were encountered: