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

respect local .git/config excludes #2553

Open
BurntSushi opened this issue Jul 7, 2023 · 0 comments
Open

respect local .git/config excludes #2553

BurntSushi opened this issue Jul 7, 2023 · 0 comments
Labels
enhancement An enhancement to the functionality of the software. gitignore Bugs related to gitignore problems.

Comments

@BurntSushi
Copy link
Owner

Copied from: #2396

Currently, ripgrep respects $HOME/.gitconfig and $XDG_CONFIG_HOME/git/config, but not .git/config (the "local" or "project" config). Git makes it such that .git/config overrides the other two options, while still respecting the ./.gitignore. This commit brings this functionality to ripgrep (while also cleaning a few repetitive segments of code).

@BurntSushi BurntSushi added enhancement An enhancement to the functionality of the software. gitignore Bugs related to gitignore problems. labels Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement to the functionality of the software. gitignore Bugs related to gitignore problems.
Projects
None yet
Development

No branches or pull requests

1 participant