X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fscripts%2Fcheck_commit_msg.sh;h=4c2489895073821a2c1c2123de325089876a7823;hb=574be8fe22d4c49c860793e32bac199a454c2161;hp=4b72953c8f7a58fad915f0eec690a8f977e792d9;hpb=171577e129363aec30640a50f91cf0ff46d61bb9;p=vpp.git diff --git a/extras/scripts/check_commit_msg.sh b/extras/scripts/check_commit_msg.sh index 4b72953c8f7..4c248989507 100755 --- a/extras/scripts/check_commit_msg.sh +++ b/extras/scripts/check_commit_msg.sh @@ -3,7 +3,7 @@ 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" +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 ==============================="