This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new 4b1b3c58a0f tools/checkpatch.sh: fix check for HEAD commit 4b1b3c58a0f is described below commit 4b1b3c58a0ffc30e9028c4b38b7b18736f18dbac Author: raiden00pl <raide...@railab.me> AuthorDate: Tue Sep 2 20:27:44 2025 +0200 tools/checkpatch.sh: fix check for HEAD commit fix checkpath.sh usage for HEAD commit: ./tools/checkpatch.sh -c -u -m -g HEAD regression after 93911d52a8db7a8ec283d2b8e386a00a0ccdde09 Signed-off-by: raiden00pl <raide...@railab.me> --- tools/checkpatch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/checkpatch.sh b/tools/checkpatch.sh index 584f8f66a87..57f35c7ca97 100755 --- a/tools/checkpatch.sh +++ b/tools/checkpatch.sh @@ -342,7 +342,7 @@ check_msg() { check_commit() { if [ $message != 0 ]; then # check each commit format separately if this is a series of commits - if [[ $1 =~ HEAD ]]; then + if [[ $1 =~ ..HEAD ]]; then for commit in $(git rev-list --no-merges $1); do msg=`git show -s --format=%B $commit` check_msg <<< "$msg"