Skip to content
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

sometimes it still finds ignored files #68

Open
kschulz-samsung opened this issue May 27, 2024 · 2 comments
Open

sometimes it still finds ignored files #68

kschulz-samsung opened this issue May 27, 2024 · 2 comments

Comments

@kschulz-samsung
Copy link

I have installed this recently and it mostly works great. I have not changed the default config, but still I see files from .git folders from time to time:

image

Any idea why this happens?

@danielfalk
Copy link
Owner

One way it might happen is if those files have gotten in your history. The files come from 2 sources: the history and the filesystem via recursive scan. If they're not in your history (looks unlikely in this case), then it would be related to the patterns that are passed into ripgrep as command line arguments. Maybe there should be some way of turning on diagnostics to be able to see the resulting command, but putting in a temporary print() could do it.

@danielfalk
Copy link
Owner

oh, I think it might be your ignore_patterns config. There are a lot of default ignore patterns, which should prevent extraneous entries like this. If you're overriding this setting, then that might explain it.

Are you still seeing this issue? If so, can you see if using the default ignore patterns fixes it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants