git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecb9eb2
)
scripts: fix commit check for empty list
author
Thomas Monjalon
<thomas.monjalon@6wind.com>
Fri, 8 Jul 2016 17:45:54 +0000
(19:45 +0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 14:34:11 +0000
(16:34 +0200)
When running check-git-log.sh on a clean tree it was complaining
of a wrong empty headline because '^[^:]*$' was matching.
It is fixed by matching at least one character with +.
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
scripts/check-git-log.sh
patch
|
blob
|
history
diff --git
a/scripts/check-git-log.sh
b/scripts/check-git-log.sh
index
c7fc0e4
..
7ea4458
100755
(executable)
--- a/
scripts/check-git-log.sh
+++ b/
scripts/check-git-log.sh
@@
-63,7
+63,7
@@
bad=$(echo "$headlines" | grep --color=always \
-e '\.$' \
-e '[,;!?&|]' \
-e ':.*_' \
- -e '^[^:]
*
$' \
+ -e '^[^:]
\+
$' \
-e ':[^ ]' \
-e ' :' \
| sed 's,^,\t,')