From: Thomas Monjalon Date: Thu, 23 Jun 2016 22:40:43 +0000 (+0200) Subject: scripts: relax line length check for fixed commit X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b7743213447f8c9aa4afa0f2ea9fac56628c57e3;p=dpdk.git scripts: relax line length check for fixed commit It is better to keep the line "Fixes:" longer than 75 characters than splitting. Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson --- diff --git a/scripts/check-git-log.sh b/scripts/check-git-log.sh index 153f378ee7..4253d14b9c 100755 --- a/scripts/check-git-log.sh +++ b/scripts/check-git-log.sh @@ -111,7 +111,7 @@ bad=$(echo "$headlines" | awk 'length>60 {print}' | sed 's,^,\t,') [ -z "$bad" ] || printf "Headline too long:\n$bad\n" # check body lines length (75 max) -bad=$(echo "$bodylines" | awk 'length>75 {print}' | sed 's,^,\t,') +bad=$(echo "$bodylines" | grep -v '^Fixes:' | awk 'length>75 {print}' | sed 's,^,\t,') [ -z "$bad" ] || printf "Line too long:\n$bad\n" # check tags spelling