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:
parent
7cac3b9625
commit
b618d001b4
1 changed files with 1 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue