summaryrefslogtreecommitdiffstats
path: root/extras/scripts/check_commit_msg.sh
diff options
context:
space:
mode:
authorJohn DeNisco <jdenisco@cisco.com>2020-06-19 15:28:48 -0400
committerDave Barach <openvpp@barachs.net>2020-06-21 12:07:36 +0000
commitdf35a20f9bb3d5b86ea6eb19ea6b998c769d1c44 (patch)
tree453c0e7561e0461bb9a46984055560516e46a561 /extras/scripts/check_commit_msg.sh
parent3a49130c75caa153cc65471fd860340cb13dcd90 (diff)
vpp_config: Updates for 20.05
Added external dependancies package. Updated the startup.conf template. Fix extras/scripts/check_commit_msg so it accepts '_' characters in feature names. Type: fix Signed-off-by: John DeNisco <jdenisco@cisco.com> Change-Id: I69c33a24b30d31e5b8081021030bff88cbaeace9 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'extras/scripts/check_commit_msg.sh')
-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 4c248989507..6869fbf6561 100755
--- a/extras/scripts/check_commit_msg.sh
+++ b/extras/scripts/check_commit_msg.sh
@@ -2,7 +2,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')
+ | 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 ==============================="