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:
parent
75a8883f07
commit
b94a7698d9
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user