[Webkit-unassigned] [Bug 261789] `git webkit pr --no-commit` spits out a bunch of errors when there are multiple commits on a branch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 17 06:43:05 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=261789

--- Comment #2 from Sam Sneddon [:gsnedders] <gsnedders at apple.com> ---
I think there's multiple things here —

 * We expect the branch to be what's being pushed, and what the PR is being created from,

 * That check-webkit-style fails with multiple commits on a branch.

The latter is what I assumed the bug was about from the title, but it sounds from the body like what you're actually trying to achieve is creating a PR with a single commit?

To actually do that implies we'd do something like:

1. Create a new branch (B') based on the merge-base of the current branch (B),
2. Cherry-pick the top of B onto B',
3. Then run the "normal" git-webkit pr flow on B'.

Does that seem right?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231117/ce92afdb/attachment.htm>


More information about the webkit-unassigned mailing list