-
-
Notifications
You must be signed in to change notification settings - Fork 925
fix hooks firing during staged_files_only #1422
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
fix hooks firing during staged_files_only #1422
Conversation
|
Running |
|
I've pushed the changes - I started adding a test case for this, but it's a bit beyond my python skill level I'm afraid. |
|
needs a test as well |
As I said, I'm trying to help without really knowing python - the tests are particularly hard to pick apart. |
|
oh ok, I can help wiht the test |
asottile
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Great cat, thanks for your help! |
|
thanks again for the fix and report, this has been released as part of v2.4.0 🎉 |

pass through an environment variable to prevent hooks running
Fixes #1418.