webkit-patch: `git am` strips prefixes (e.g. [CMake][WPE]) in a subject For example, attachment#459852 [details] had "[CMake][WPE]" in the subject. But, it was stripped 251129@main. We should use `-k` for `git am` and `git format-patch`. See also: Bug 240402 – [webkit-patch] Apply patches commit messages Bug 240256 – [webkit-patch] Include commit messages in patches
Created attachment 459876 [details] Patch
Oh, no. COMMIT_MESSAGE isn't shown for the patch. Bugzilla prettypatch doesn't like a patch generated by git format-patch -k? https://bugs.webkit.org/attachment.cgi?id=459876&action=prettypatch
Ah, it expects "[PATCH]" in the subject. https://github.com/WebKit/WebKit/blob/e647f31fb38449bbe7cf4871edc0ee84ce2c30d2/Websites/bugs.webkit.org/PrettyPatch/PrettyPatch.rb#L71 > MESSAGE_HEADER_FORMATS = [ > /^Subject: \[PATCH ?(\d+\/\d+)?\] (.+)/ > ]
Just filed bug 241115 about that.
git-am has --keep-non-patch option. This is exactly what I want.
Created attachment 459944 [details] Patch
Comment on attachment 459944 [details] Patch I think you need this in buildbot code in Tools/CISupport too
Created attachment 460020 [details] Patch for landing
Comment on attachment 460020 [details] Patch for landing 🤞
Committed r295238 (251293@main): <https://commits.webkit.org/251293@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 460020 [details].
<rdar://problem/94368694>