tests/compiance/checkpatch: force the format to 'email'

Otherwise, local settings in the account will cause headache and
randomly alter the result of the testcase.

Change-Id: I758966a7fe9335a13ce237aea7d6df2ddc5733ce
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
This commit is contained in:
Inaky Perez-Gonzalez 2016-11-04 17:45:15 -07:00 committed by Anas Nashif
commit b618d001b4

View file

@ -15,7 +15,7 @@ cd $1 || exit 127
# If no modifications to the tree, check the previous commit;
# otherwise, show the current modifications
if git diff-index HEAD --quiet; then
git show HEAD || exit 127
git show --format=email HEAD || exit 127
else
git diff HEAD || exit 127
fi \