From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [PATCH] scripts: skip capitalization check for commit prefixes Date: Fri, 13 Jan 2017 13:02:17 +0000 Message-ID: <1484312537-22011-1-git-send-email-bruce.richardson@intel.com> Cc: dev@dpdk.org, Bruce Richardson To: thomas.monjalon@6wind.com Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7D3902B97 for ; Fri, 13 Jan 2017 15:29:42 +0100 (CET) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- scripts/check-git-log.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/check-git-log.sh b/scripts/check-git-log.sh index f79f0a2..f6a35d2 100755 --- a/scripts/check-git-log.sh +++ b/scripts/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.9.3