diff --git a/meta/git/hooks/commit-msg b/meta/git/hooks/commit-msg index ede0a11..a25f047 100755 --- a/meta/git/hooks/commit-msg +++ b/meta/git/hooks/commit-msg @@ -43,8 +43,8 @@ body="$( # error messages are printed for the different 'levels' of the pattern. declare -a pats msg pats=( - "^([-_,*(){}./a-zA-Z0-9]+:)+ " - "([\`'\"]|[A-Z])" + "^(.+:)+ " + "([A-Z\`'\"])" ".*[^.]$" ) msg=(