From: Ferruh Yigit Date: Thu, 26 Jan 2017 14:07:43 +0000 (+0000) Subject: devtools: update git headline prefix check for drivers X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=87acacf870377ad92b8c214ef306edf9ce80de5c;p=dpdk.git devtools: update git headline prefix check for drivers 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 --- diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 62b5f4338b..9ccef668e7 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