I like to use the present tense in my Git logs (for example, "Add feature" instead of "Added feature"). Currently, I have an extremely naive Git hook that aborts the commit if the first word of the log message ends in 'ed', but I'd like a more robust solution (where 'more robust' means 'not totally lame'). Is there a grammar checker that would give me the ability to write a script along the lines of:
echo $TEXT | check-grammar --present-tense || exit 1
I don't need a perfect solution, just something better than matching /^\w*ed\W/.