WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
257363
[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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-05-25 17:10:29 PDT
<
rdar://problem/109860518
>
Jonathan Bedard
Comment 2
2023-05-25 17:24:57 PDT
Committed
264544@main
(bb0606c):
https://commits.webkit.org/264544@main
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug