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 <thomas.monjalon@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
9115326d99
commit
b774321344
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user