From 2d150e938bfa17e75ba260242a14ca95ba4ac06a Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 13 Jan 2017 13:02:17 +0000 Subject: [PATCH] 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 --- devtools/check-git-log.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ':.*\' \ -- 2.20.1