Closed
Description
I'd love to see support for the git hooks. Some of these hooks are:
-
pre-commit
-
prepare-commit-msg
-
commit-msg
-
post-commit
-
post-merge
-
pre-push
And others. They can be found via this resource and this resource in a more "plain-english" way.
I'm willing to implement this functionality, however, I'm wondering what the API should look like. Do we want to look for the related files and run them with spawn
? Do we want to make pre-X
and post-X
actions and utilize a plugin-like system and provide this logic as an additional package? What do we think?