From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 13 Jan 2017 05:02:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,221,1477983600"; d="scan'208";a="808445330" Received: from sivswdev01.ir.intel.com (HELO localhost.localdomain) ([10.237.217.45]) by FMSMGA003.fm.intel.com with ESMTP; 13 Jan 2017 05:02:25 -0800 From: Bruce Richardson To: thomas.monjalon@6wind.com Cc: dev@dpdk.org, Bruce Richardson Date: Fri, 13 Jan 2017 13:02:17 +0000 Message-Id: <1484312537-22011-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH] scripts: skip capitalization check for commit prefixes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2017 14:29:43 -0000 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