-
-
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
Add --git-ignore-case-insensitive #1170
Add --git-ignore-case-insensitive #1170
Conversation
A few things I'm unsure about:
|
I think that based on the names of the other ignore-file-related options it would probably just be like |
I considered Maybe |
Ah, i didn't consider the name confusion. Mixing the concepts of ignore files and command-line globbing seems a bit suspect to me as well, but i'm not sure. I do feel like the option should be documented/completed more like |
Both good points. I think the clearest then would probably be |
@davidtorosyan Thanks so much for working on this! I think you got the general approach correct, but there were a lot of details that I wanted to iron out, so I just did them myself here in 718a00f. You can see my changes off your PR here: https://gist.github.com/BurntSushi/6456ad9be5ce650fa36bf02956cee14e In summary:
I think that's it! Nice work! |
@BurntSushi thanks for the detailed feedback (and for merging the feature). It didn't register to me that the signature for |
@davidtorosyan Yup! Basically, you want to take a look at the public API in the docs, e.g., https://docs.rs/ignore. Your changes made sense though---those methods should not have been returning |
This closes #1164