Skip to content

Commit

Permalink
commits: skip b4 cover-letter commit
Browse files Browse the repository at this point in the history
They are empty, no need to validate them, and checkpatch would complain
about them.

Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
  • Loading branch information
matttbe committed May 10, 2024
1 parent 9659a36 commit 83020b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ is_commit_skipped() { local commit curr
fi
done

# Skip empty commits used by b4
if git log -1 HEAD | grep -q "^\s\+--- b4-submit-tracking ---$"; then
return 0
fi

return 1
}

Expand Down

0 comments on commit 83020b2

Please sign in to comment.