Revert "CI: use 'git diff $commits' as a whole patchset to do checkpatch"

This reverts commit 350131d00e.

If one PR is on a former master code base, using 'git diff $commits' would result in
abnormal checkpatch report sometimes. So revert it anyway.
This commit is contained in:
liuhaitao 2020-05-09 12:12:22 +08:00 committed by Xiang Xiao
parent 75a8883f07
commit b94a7698d9

View File

@ -32,4 +32,5 @@ jobs:
cd nuttx
commits=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'`
git log --oneline $commits
git diff $commits | ../nuttx/tools/checkpatch.sh -
echo "../nuttx/tools/checkpatch.sh -g $commits"
../nuttx/tools/checkpatch.sh -g $commits