-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
support global gitignore config #9
Comments
While supporting
We should at least support |
My 2¢: I've used One alternative solution might be to have a parameter or separate tool to auto-generate one or more |
Maybe there should be an option for specifying additional (or replacement) ignore files manually? |
@vi That's always an option, but it's not particularly satisfying. |
I also think |
(Just for some counterbalance -- I'm certainly in the bucket of people you originally mentioned. |
|
Actually, changed my mind. |
It's being worked on. On Oct 20, 2016 5:51 PM, "Ramith Jayatilleka" notifications@github.com
|
This PR introduces a new sub-crate, `ignore`, which primarily provides a fast recursive directory iterator that respects ignore files like gitignore and other configurable filtering rules based on globs or even file types. This results in a substantial source of complexity moved out of ripgrep's core and into a reusable component that others can now (hopefully) benefit from. While much of the ignore code carried over from ripgrep's core, a substantial portion of it was rewritten with the following goals in mind: 1. Reuse matchers built from gitignore files across directory iteration. 2. Design the matcher data structure to be amenable for parallelizing directory iteration. (Indeed, writing the parallel iterator is the next step.) Fixes #9, #44, #45
Fixed in #202. |
e.g.,
$HOME/.config/git/ignore
or$XDG_CONFIG_HOME/git/ignore
or whatever file is specified by the configuration variablecore.excludesFile
. Another source might be$GIT_DIR/info/exclude
.The text was updated successfully, but these errors were encountered: