[Webkit-unassigned] [Bug 239327] New: Keep local commit history separated from PR-ed one

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 14 02:57:13 PDT 2022


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

            Bug ID: 239327
           Summary: Keep local commit history separated from PR-ed one
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ysuzuki at apple.com

My workflow with webkit-patch is

1. First, creating a topic branch.
2. Land random multiple commits frequently (it is pile of change xxx, update xxx.
3. Then, once all the diff becomes good (git diff main), run webkit-patch upload --update-changelogs to generate ChangeLogs and upload a patch to bugzilla.
4. I typically just commit ChangeLog change itself.
5. Periodically, I rebase all of the above commits based on main.
6. Once review is done, and some changes are requested, I change this branch and add further commits (like, fix xxx etc.)
7. Then, run webkit-patch upload --update-changelogs again to regenerate ChangeLog files and upload a patch.
8. When landing, use webkit-patch land -v.

However, when using `git webkit pr`, it uploads multiple commits as PR if I have multiple commits locally.
While I set history = when-user-owned option, it does not change.

Please create PR branch separately from the actual local working branch, and generate commit message automatically from ChangeLog (as we did in commit of webkit-patch).
Keeping local history is important since I would like to revert some part of attempt locally while modifying code.

-- 
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/20220414/8524cebf/attachment-0001.htm>


More information about the webkit-unassigned mailing list