]> git.droids-corp.org - dpdk.git/blobdiff - devtools/check-git-log.sh
vhost/crypto: fix descriptor processing
[dpdk.git] / devtools / check-git-log.sh
index 885d444b3df9fb77e808f4edcd7e4dfae365f034..23c6a7d9bbba12cfd164eefc618b0bbed5a7c527 100755 (executable)
@@ -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[:/]' \