From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 50362B44F for ; Wed, 11 May 2016 06:04:15 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 10 May 2016 21:04:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,607,1455004800"; d="scan'208";a="803593816" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by orsmga003.jf.intel.com with ESMTP; 10 May 2016 21:04:13 -0700 From: Yuanhan Liu To: dev@dpdk.org Cc: Thomas Monjalon , Yuanhan Liu Date: Tue, 10 May 2016 21:09:00 -0700 Message-Id: <1462939741-12357-2-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1462939741-12357-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1462939741-12357-1-git-send-email-yuanhan.liu@linux.intel.com> Subject: [dpdk-dev] [PATCH 1/2] scripts: fix false positive warning X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 04:04:15 -0000 It reports an false positive warning when the commit subject includes the word "ctx", as it matches following regexp: -e 'rx\|tx\|RX\|TX' Fixes: edbeb7d962e9 ("scripts: check commit formatting") Signed-off-by: Yuanhan Liu --- scripts/check-git-log.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-git-log.sh b/scripts/check-git-log.sh index ce6c15e..b7ea1be 100755 --- a/scripts/check-git-log.sh +++ b/scripts/check-git-log.sh @@ -86,8 +86,8 @@ bad=$(echo "$headlines" | grep \ [ -z "$bad" ] || printf "Wrong headline uppercase:\n$bad\n" # check headline uppercase (Rx/Tx, VF, L2, MAC, Linux, ARM...) -bad=$(echo "$headlines" | grep \ - -e 'rx\|tx\|RX\|TX' \ +bad=$(echo "$headlines" | grep -E \ + -e '\<(rx|tx|RX|TX)\>' \ -e '\<[pv]f\>' \ -e '\' \ -e ':.*\' \ -- 1.9.0