From: Bruce Richardson Date: Fri, 13 Jan 2017 13:02:17 +0000 (+0000) Subject: devtools: skip capitalization check for commit prefixes X-Git-Tag: spdx-start~5188 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=2d150e938bfa17e75ba260242a14ca95ba4ac06a devtools: skip capitalization check for commit prefixes The prefix in the commit title must be a valid component name and is checked in separate checks. For capitalization, just check the part after the colon. This is already done for most capitalization checks, just make the remainder consistent with this. Signed-off-by: Bruce Richardson --- diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index f79f0a2dba..f6a35d2f8d 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -113,10 +113,10 @@ bad=$(echo "$headlines" | grep --color=always \ # check headline uppercase (Rx/Tx, VF, L2, MAC, Linux, ARM...) bad=$(echo "$headlines" | grep -E --color=always \ - -e '\<(rx|tx|RX|TX)\>' \ - -e '\<[pv]f\>' \ - -e '\<[hsf]w\>' \ - -e '\' \ + -e ':.*\<(rx|tx|RX|TX)\>' \ + -e ':.*\<[pv]f\>' \ + -e ':.*\<[hsf]w\>' \ + -e ':.*\' \ -e ':.*\' \ -e ':.*\' \ -e ':.*\' \