-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
Failing to get staged files on 15.2.6 #1437
Comments
Same issue here, also fixed through using version 15.2.6. Debug output with
|
Thanks, what is your If that doesn't help, can you edit the |
This was happening to just one team member on a project, and updating Git solved it. |
We don't really have an explicitly set version requirements for Git, but the features taken into use in 15.2.6 have been around since 2017 so maybe good to update, if only for the security issues. Feel free to re-open this issue if updating Git doesn't help. |
I also faced this issue and had to pin to 15.2.5 to get it to work. My git version is 2.18.0 and I'm not in a position to be able to update it. It was released on June 21st 2018 so should have the features you mentioned. This seems like it might not just be git version related. |
I believe the |
I can probably remove the |
I just updated the git version and now its working fine. ( Was using 2.25.1 and updated to 2.45.2 ) |
I face the same problem in my git version of 2.24.3。After some debugging, I am sure that the problem is the |
updating git from 2.25.1 -> 2.45.2 worked for me |
I hope 15.2.7 works better: https://github.com/lint-staged/lint-staged/releases/tag/v15.2.7 |
Description
Latest version 15.2.6 fails to get staged files. Rolling back to 15.2.5 fixes this issue. Please let me know how I can help
Steps to reproduce
Environment
lint-staged
: 15.2.6The text was updated successfully, but these errors were encountered: