Fix commit-msg hook, close #24