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:
parent
ace08f065a
commit
151c10dc9a
1 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue