git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts: relax line length check for fixed commit
[dpdk.git]
/
scripts
/
check-git-log.sh
diff --git
a/scripts/check-git-log.sh
b/scripts/check-git-log.sh
index
153f378
..
4253d14
100755
(executable)
--- 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)
[ -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
[ -z "$bad" ] || printf "Line too long:\n$bad\n"
# check tags spelling