commit-comments
commit-comments copied to clipboard
Build commit message in the comments of your code
Same grep version on CentOS 6.x and 7.x, same error on both. What is the required grep version?
I am very fond of this functionality as it always seemed to me like i actually forget the details of the change during commit. And as its implemented right now...
`git grep --cached` should work good enough.
Among other weirdness I encountered, it appears multiline commit messages aren't supported, or I used the wrong syntax. Would be a great feature to have, as I instinctively wrap lines...
This will clean repository state after commit removing all `@commit` from diff.
``` $ git commit .git/hooks/prepare-commit-msg: line 43: conditional binary operator expected .git/hooks/prepare-commit-msg: line 43: syntax error near `=~' .git/hooks/prepare-commit-msg: line 43: ` if [[ "${IGNORED[*]}" =~ "${filename}" || "${IGNORED[*]}" =~...