1
0
Fork 0

CI: Remove drm_hwcomposer: prefix requirement

The prefix doesn't provide a lot of value, and unnecessarily lengthens
the commit message subject lines.

Change-Id: I5e234510b2ad9822e95135e56a8a19b4b9329357
This commit is contained in:
Drew Davenport 2025-09-29 09:26:01 -06:00
parent ace08f065a
commit 151c10dc9a

View file

@ -41,12 +41,6 @@ check_tool_installed clang-format-diff-19
git fetch https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer.git
git log --pretty='%h' FETCH_HEAD..HEAD | while read h; do
subject=$(git show -s --pretty='%s' "$h")
if [[ $subject != drm_hwcomposer:* ]] && [[ $subject != Revert* ]]; then
echoerr "Invalid subject prefix: $subject"
exit 1
fi
commit_body=$(git show -s --pretty=%b "$h")
git diff -U0 "$h" -- | clang-format-diff-19 -p 1 -style=file > /tmp/format-fixup.patch