tommarshall / git-good-commit

Git hook to help you write good commit messages, with no external dependencies.
MIT License
193 stars 33 forks source link

Ignore imperative matches in the rest of the commit message #6

Closed masimplo closed 7 years ago

masimplo commented 7 years ago

I am constantly having an issue committing with messages that do start with imperative but contain non imperative ones along the message. For instance writing something like:

will trigger rule number 5 and give an error message. Shouldn't the imperative rule only match the first word?

tommarshall commented 7 years ago

Hi @masimplo. Thanks for raising this. I agree. I've been running into the same issue.

tommarshall commented 7 years ago

This is fixed in v0.5.0.

You can update to v0.5.0 by repeating the installation instructions in the README.