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
Amend commit support #999
Comments
It could, however pre-commit currently doesn't do either of the two things:
The second is difficult as well because git hooks are not handed a tty and would have to (unreliably) fish one out of I use: git add -u && !! quite often fwiw |
I guess interactivity was a stretch goal, I would be happy with just "accept the output" as there's nothing one can really do against autoformatter. I presume modifying the staging area is doable? |
Alright :) |
thanks for the issue though! 🎉 |
There are some checks that are automatic. We're using brittany (Haskell source formatter) and my workflow goes always as following:
I was wondering if 3 and 4 could be merged into pre-commit showing the diff and then asking to amend it?
The text was updated successfully, but these errors were encountered: