diff --git a/dev/setup/git/hooks/msg-commit b/dev/setup/git/hooks/msg-commit index f3c3f186b14..8a1fc7e37e8 100755 --- a/dev/setup/git/hooks/msg-commit +++ b/dev/setup/git/hooks/msg-commit @@ -4,9 +4,9 @@ commit_msg_file=$1 first_line=$(head -n1 "$commit_msg_file") -if echo "$first_line" | grep -Eqi '^(QUAL|SEC|PERF|FIX|CLOSE|NEW|Clean code|Debug)'; then +if echo "$first_line" | grep -Eqi '^(QUAL|SEC|PERF|FIX|CLOSE|NEW|Clean code|Debug[CSS)'; then exit 0 else - echo "The commit message must start with QUAL, SEC, PERF, FIX, CLOSE, NEW, Clean code, Debug ..." + echo "The commit message must start with QUAL, SEC, PERF, FIX, CLOSE, NEW, Clean code, Debug, CSS ..." exit 1 fi