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

This reverts commit 9c4cdc5331c1989b9a82e392255e516b16a5a47b.

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 13:13:12 +08:00 committed by Xiang Xiao
parent f918be8d2a
commit d7a5313aca

View File

@ -38,4 +38,5 @@ jobs:
cd apps
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