Re: [PATCH v2] scripts: add more git log checks
From: Yuanhan Liu <hidden>
Date: 2016-09-26 03:25:36
On Fri, Sep 23, 2016 at 01:47:27PM +0100, Ferruh Yigit wrote:
quoted hunk ↗ jump to hunk
Alphabetically sorted items to check and added git log capitalization checks for LRO, NIC and PMD Signed-off-by: Ferruh Yigit <redacted> --- scripts/check-git-log.sh | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-)diff --git a/scripts/check-git-log.sh b/scripts/check-git-log.sh index 1e05cf2..5f8a9fc 100755 --- a/scripts/check-git-log.sh +++ b/scripts/check-git-log.sh@@ -112,20 +112,23 @@ bad=$(echo "$headlines" | grep -E --color=always \ -e '\<[hsf]w\>' \ -e '\<l[234]\>' \ -e ':.*\<api\>' \ + -e ':.*\<arm\>' \ + -e ':.*\<armv7\>' \ + -e ':.*\<armv8\>' \ -e ':.*\<dma\>' \ - -e ':.*\<pci\>' \ - -e ':.*\<mtu\>' \ + -e ':.*\<freebsd\>' \ + -e ':.*\<linux\>' \ + -e ':.*\<lro\>' \ -e ':.*\<mac\>' \ + -e ':.*\<mtu\>' \ + -e ':.*\<nic\>' \ -e ':.*\<numa\>' \ - -e ':.*\<vlan\>' \ + -e ':.*\<pci\>' \ + -e ':.*\<pmd\>' \ -e ':.*\<rss\>' \ - -e ':.*\<freebsd\>' \ - -e ':.*\<linux\>' \ - -e ':.*\<tilegx\>' \ -e ':.*\<tile-gx\>' \ - -e ':.*\<arm\>' \ - -e ':.*\<armv7\>' \ - -e ':.*\<armv8\>' \ + -e ':.*\<tilegx\>' \ + -e ':.*\<vlan\>' \
That basically means to me that you should store this (long) list into a file, with the help of "-f" option. --yliu
| sed 's,^,\t,') [ -z "$bad" ] || printf "Wrong headline lowercase:\n$bad\n" -- 2.7.4