-
-
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
Don't warn for broken ignore syntax #646
Comments
There's a little discussion on this in #373, where I in particular suggest the use of I don't agree with completely suppressing gitignore errors, since I think they are useful for diagnosing |
Quick workaround: The error messages are written to |
--no-messages is a good existing workaround too. I'll just research what else I might be missing with it. |
@bluss Have you amassed any more thoughts on this topic? Every time I look at this issue, I wonder how it can be closed, but I am myself torn on it. On the one hand, it surfaces invalid gitignores, on the other hand, it's frustrating if those gitignores aren't your own. |
Example case:
My idea here is that I'm interested in help searching through a hairy mess of files. The syntax errors are not interesting, in that case, it's from some checked-out code that I don't know anything about anymore.
The errant line seems to be this:
The text was updated successfully, but these errors were encountered: