stats: fix counters name overflow
[vpp.git] / extras / scripts / check_commit_msg.sh
index 4b72953..6869fbf 100755 (executable)
@@ -2,8 +2,8 @@
 
 KNOWN_FEATURES=$(cat MAINTAINERS | sed -ne 's/^I:[[:space:]]*//p')
 FEATURES=$(git show -s --format=%s --no-color \
-    | sed -ne 's/^\([a-z0-9 -]*\):.*$/\1/p')
-KNOWN_TYPES="feature fix refactor style docs test make"
+    | sed -ne 's/^\([a-z0-9_ -]*\):.*$/\1/p')
+KNOWN_TYPES="feature fix refactor improvement style docs test make"
 TYPE=$(git show -s --format=%b --no-color | sed -ne 's/^Type:[[:space:]]*//p')
 ERR="=============================== ERROR ==============================="