The convention in DPDK is to directly use library names as prefix, without a lib/.
Signed-off-by: David Marchand <david.march...@redhat.com> --- devtools/check-git-log.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 9988bf863d..475f2464ab 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -89,6 +89,12 @@ bad=$(for commit in $commits ; do done | sed 's,^,\t,') [ -z "$bad" ] || { printf "Wrong headline prefix:\n$bad\n" && failure=true;} +# check headline prefix for libraries +bad=$(echo "$headlines" | grep --color=always \ + -e '^lib/' \ + | sed 's,^,\t,') +[ -z "$bad" ] || { printf "Wrong headline prefix:\n$bad\n" && failure=true;} + # check headline label for common typos bad=$(echo "$headlines" | grep --color=always \ -e '^example[:/]' \ -- 2.23.0