gnustavo / Git-Hooks

Framework for implementing Git (and Gerrit) hooks
http://search.cpan.org/dist/Git-Hooks/
41 stars 17 forks source link

CheckLog: Add title-match option #36

Closed s-nez closed 7 years ago

s-nez commented 7 years ago

This is for the CPAN Pull Request Challenge.

This change implements the enhancement from issue #21. I also factored out the regex matching logic in CheckLog to a subroutine in order to avoid code duplication.

Please let me know if I should make any corrections.

gnustavo commented 7 years ago

Thanks, Szymon! I fixed a typo and I'll proceed to rebase it into next.