From af0cdf6d6e4d77f26b1d1b4f0086cc8c31d43e1e Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Wed, 6 May 2026 18:44:59 +0200 Subject: [PATCH] Fix the check_for_fixups.sh script again Our most recent change to the script (58309b02a900) broke it because the anchored regex's no longer match the beginning of the subject. Fix this by omitting the hash, which is a bit unfortunate but probably acceptable (I rarely look at the output of the script anyway). --- scripts/check_for_fixups.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_for_fixups.sh b/scripts/check_for_fixups.sh index d2e8cb08e..5184d4820 100755 --- a/scripts/check_for_fixups.sh +++ b/scripts/check_for_fixups.sh @@ -2,7 +2,7 @@ # We will have only done a shallow clone, so the git log will consist only of # commits on the current PR -commits=$(git log --format="%h %s" | egrep '(^fixup!|^squash!|^amend!|WIP|DROPME)') +commits=$(git log --format="%s" | egrep '(^fixup!|^squash!|^amend!|WIP|DROPME)') if [ -z "$commits" ]; then echo "No fixup commits found."