scripts: fix commit check of first word
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 5 Jul 2016 15:47:05 +0000 (17:47 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 14:34:05 +0000 (16:34 +0200)
commitecb9eb29274bed758220c2c10a5540cd832f45bd
treeff25f5906389dca0a18973eb1fdebc81b2025a12
parentc6946933310be6172b8a64017711dd8f2361bc2f
scripts: fix commit check of first word

The first word of each commit message is checked.
But when the commit range was greater than 1, only the latest commit
was checked.
It is fixed by checking each commit separately.

Fixes: 9c24780f0d5e ("scripts: check first word of commit messages")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Tested-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
scripts/check-git-log.sh