Fix the check_for_fixups.sh script again (#5590)

Our most recent change to the script (58309b02a9) 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).
This commit is contained in:
Stefan Haller 2026-05-06 18:53:12 +02:00 committed by GitHub
commit e1dff3ffa7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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."