conventional-changelog-archived-repos / validate-commit-msg

DEPRECATED. Use https://github.com/marionebl/commitlint instead. githook to validate commit messages are up to standard
http://conventionalcommits.org/
MIT License
556 stars 101 forks source link

commit message is from my previous commit #51

Closed cdaringe closed 7 years ago

cdaringe commented 7 years ago

problem

when i do git commit -m 'SOME BOGUS COMMIT MSG', the content in .git/COMMIT_EDITMSG is my last commit, not the commit currently in process, therefore bogus commit msg isn't caught

discussion

cdaringe commented 7 years ago

whoops, wrong git hook. nm!