FEATURE: support `prepare-commit-msg` git hook
Did you check the docs?
- [X] I have read all the docs.
Is your feature request related to a problem? Please describe.
When I set up prepare-commit-msg hook for OpenCommit tool and use gc mapping in the opened git status I get an empty Commit message input window.
Describe the solution you'd like.
I want the prepared by OpenCommit commit message would appear in the opened Commit message input window after using gc mapping so I could edit the message and submit a commit.
Describe alternatives you've considered.
No response
Additional Context
No response
tried a preliminary implementation here: https://github.com/pynappo/neo-tree.nvim/tree/1569-prepare-commit-hook but it's fairly hacky (and it doesn't remove the line the hook adds to .git/COMMIT_EDITMSG so multiple commits will pile up the lines in that file), may revisit at some point or you could try to revise it for a PR yourself, or make it your own custom command.
Cool :-) I had already forgotten about that feature request. Thanks for doing steps towards it!