Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8b9b74668e91bcace4530d2b9656de3d6e851d09
https://github.com/WebKit/WebKit/commit/8b9b74668e91bcace4530d2b9656de3d6e851d09
Author: Sam Sneddon <[email protected]>
Date: 2026-05-20 (Wed, 20 May 2026)
Changed paths:
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/local/git.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py
Log Message:
-----------
[webkitscmpy] Git.fetch() should update remote tracking refs
https://bugs.webkit.org/show_bug.cgi?id=315204
rdar://177532662
Reviewed by Jonathan Bedard.
Git.fetch(branch) was only passing a single refspec (branch:branch) which
updates refs/heads/branch but not refs/remotes/origin/branch. This left
the remote tracking ref stale, breaking --tip-of-tree in import-w3c-tests.
Add a second refspec (+refs/heads/branch:refs/remotes/remote/branch) to
update the remote tracking ref as well.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py:
(Git.fetch):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/local/git.py:
(Git._fetch_with_refspec):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/git_unittest.py:
(test_fetch_succeeds_in_normal_repo):
(test_fetch_with_prune):
(test_fetch_default_remote):
(test_fetch_nonexistent_remote_branch):
(test_fetch_creates_local_branch):
Canonical link: https://commits.webkit.org/313618@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications