-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Respect global .gitignore when searching #59364
Comments
(Experimental duplicate detection) |
I can add a setting to be opted into this, but I disabled it by default because it confused too many people |
Would take a PR that adds a setting, false by default, for whether to add this flag: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/services/search/node/ripgrepTextSearch.ts#L514 |
@roblourens , can i send a PR on this? |
Fix #59364 : Respect global .gitignore when searching
The global .gitignore file, aka git config
core.excludesfile
setting should be used when searching, just like the local .gitignore file is.Currently files/folders will be ignored if they are in the local .gitignore, but not if they are only in the global git ignore.
#49239 asked about this feature, but it was incorrectly closed.
The text was updated successfully, but these errors were encountered: