summaryrefslogtreecommitdiffstats
path: root/extras/scripts
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2020-02-04 11:36:17 +0100
committerDamjan Marion <dmarion@me.com>2020-02-05 09:12:12 +0000
commit574be8fe22d4c49c860793e32bac199a454c2161 (patch)
tree79f1846ed36acbac7df6477d9f735a6cbf34c0b2 /extras/scripts
parent541406241231c863deb59f794890e16e5ba6ea5a (diff)
misc: add new type for commit message
Type: style Change-Id: Ibfa8bd1c0987fd2a5050be6c454f665666eb0210 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'extras/scripts')
-rwxr-xr-xextras/scripts/check_commit_msg.sh2
1 files changed, 1 insertions, 1 deletions
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 ==============================="