From eb127abc0f5509495fffa149da472077bd9b3a4d Mon Sep 17 00:00:00 2001 From: Etienne Champetier Date: Sat, 11 Nov 2017 21:52:49 -0800 Subject: [PATCH] build,travis: accept commits with '_' Signed-off-by: Etienne Champetier --- .travis_do.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis_do.sh b/.travis_do.sh index 1db07edfd..91f130757 100755 --- a/.travis_do.sh +++ b/.travis_do.sh @@ -158,7 +158,7 @@ test_commits() { fi subject="$(git show -s --format=%s $commit)" - if echo "$subject" | grep -q -e '^[0-9A-Za-z,/-]\+: ' -e '^Revert '; then + if echo "$subject" | grep -q -e '^[0-9A-Za-z,/_-]\+: ' -e '^Revert '; then echo_green "Commit subject line seems ok ($subject)" else echo_red "Commit subject line MUST start with ': ' ($subject)"