RESOLVED FIXED257363
[git-webkit] Only reset local main when it contains local commits
https://bugs.webkit.org/show_bug.cgi?id=257363
Summary [git-webkit] Only reset local main when it contains local commits
Jonathan Bedard
Reported 2023-05-25 17:10:07 PDT
Currently, git-webkit pr will unconditionally set the local main reference to point to the remote reference. This is so that we can seamlessly allow contributors to create a commit on `main` and then put that commit into a PR and let the engineer return their checkout to the canonical main. If we attempt to set the local main reference to the remote when it's already on the remote, though, that command will fail.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-25 17:10:29 PDT
Jonathan Bedard
Comment 2 2023-05-25 17:24:57 PDT
Note You need to log in before you can comment on or make changes to this bug.