diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 242496af912..21fc9422789 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -32,5 +32,4 @@ jobs: cd nuttx commits=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'` git log --oneline $commits - echo "../nuttx/tools/checkpatch.sh -g $commits" - ../nuttx/tools/checkpatch.sh -g $commits + git diff $commits | ../nuttx/tools/checkpatch.sh -