scripts: check headline of drivers commits
authorNelio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 29 Jun 2016 15:55:08 +0000 (17:55 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 14:34:11 +0000 (16:34 +0200)
commite757070d64ff0531f89f311de4b2bbd3f8251f3f
treeaa76edf1b6fb329781232cee2d489d6ed9b7b023
parent341332481e4b1c6c69c4d2531d06b5b2b6655101
scripts: check headline of drivers commits

A driver patch under net should start with "net/<driver name>" or if
a patch touch multiple drivers, it should only start with "net:".
The same apply for crypto.
A patch touching all drivers (net + crypto) should start with "drivers:".

Longer prefixes like "net/mlx:" (for mlx4/mlx5) or "net/e1000/base:" are
handled by not checking the colon.

The directories doc/ and config/ are ignored because a driver patch
can modify them.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
scripts/check-git-log.sh