Closed cdaringe closed 7 years ago
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
git commit -m 'SOME BOGUS COMMIT MSG'
.git/COMMIT_EDITMSG
whoops, wrong git hook. nm!
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 caughtdiscussion