From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: [PATCH] devtools: update headline prefix for drivers Date: Thu, 26 Jan 2017 14:07:43 +0000 Message-ID: <20170126140744.21626-2-ferruh.yigit@intel.com> Cc: Ferruh Yigit , Thomas Monjalon , Pablo de Lara To: dev@dpdk.org Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 212652BB0 for ; Thu, 26 Jan 2017 15:07:49 +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" For the patches that touch multiple drivers in same driver group, script forces headline prefix start with drv group. Like for net/a net/b net/c, patch title should be "net: x y z" Update rule to let "driver" prefix in headline, for above sample patch title becomes: "drivers/net: x y z" This prevents patch confused with library with same name. Signed-off-by: Ferruh Yigit --- devtools/check-git-log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 62b5f43..9ccef66 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -87,7 +87,7 @@ bad=$(for commit in $commits ; do if [ $(echo "$drvgrp" | wc -l) -gt 1 ] ; then echo "$headline" | grep -v '^drivers:' elif [ $(echo "$drv" | wc -l) -gt 1 ] ; then - echo "$headline" | grep -v "^$drvgrp" + echo "$headline" | grep -v "^drivers/$drvgrp" else echo "$headline" | grep -v "^$drv" fi -- 2.9.3