You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "Running checkpatch.pl on all commits in the PR:"
git rev-list --reverse $base_commit..HEAD | while read commit; do
subject=$(git log -1 --format=%s $commit)
echo "Checking commit: $commit - $subject"
if ! ./checkpatch.pl --no-tree --ignore MAINTAINERS,SPDX_LICENSE_TAG,COMMIT_MESSAGE,FILE_PATH_CHANGES,EMAIL_SUBJECT,AVOID_EXTERNS,GIT_COMMIT_ID,ENOSYS_SYSCALL -g $commit; then
echo "checkpatch.pl found issues in commit $commit - $subject"