-
Notifications
You must be signed in to change notification settings - Fork 52
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
git-check checks all files, not just changed? #40
Comments
Hi @dsedivec There are two use cases:
Since the second use case covers the first (and then some, admittedly), I lazily implemented the second use case. I'm certainly open to support both individually. Do you know if there's a way to detect if |
Hi @jumanjiman!
OK, I didn't think of |
That's a nifty thought to try. i'll have to play with it and see if I can somehow also support the |
I also hit this issue ;-( Having a repo with so many files and adopting changes in the PS It's running for 30 minutes already and still not finished ;-() |
Thanks for writing the git-check plug-in! I was surprised, though, to find that it checks my whole tree, not just staged changes against the prior commit (if any).
Should it be calling
git diff-index
with--cached
, and preferringHEAD
, when it exists, to${EMPTY_COMMIT}
?The text was updated successfully, but these errors were encountered: