Doing some work on penchant I learned a few things about git hooks:
- You can add things to the commit in
commit-msg. By the time you got there, it’s too late.
- Be sure to always
unset(and restore if necessary)
GIT_DIRbefore doing anything else involving other git repos, like running