From b618d001b499e84ef2beba72b3b90379eb5ff40d Mon Sep 17 00:00:00 2001 From: Inaky Perez-Gonzalez Date: Fri, 4 Nov 2016 17:45:15 -0700 Subject: [PATCH] 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 --- tests/compliance/checkpatch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compliance/checkpatch.sh b/tests/compliance/checkpatch.sh index cb4fe993649..6fce50974ff 100755 --- a/tests/compliance/checkpatch.sh +++ b/tests/compliance/checkpatch.sh @@ -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 \