Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d8199ef1f0196a36086e0ce808dd6a73dc4782ab
https://github.com/WebKit/WebKit/commit/d8199ef1f0196a36086e0ce808dd6a73dc4782ab
Author: David Kilzer <[email protected]>
Date: 2026-04-29 (Wed, 29 Apr 2026)
Changed paths:
M .claude/plugins/git-webkit/skills/find/SKILL.md
M Tools/Scripts/git-webkit
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/find.py
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py
Log Message:
-----------
`git-webkit find` fails when run from outside the OpenSource checkout
<https://bugs.webkit.org/show_bug.cgi?id=313682>
<rdar://175882224>
Reviewed by Jonathan Bedard.
Teach `git-webkit find` to auto-detect the OpenSource checkout from the
script's own location when CWD is not in an OpenSource repo. Without
this, running `git-webkit find` from a parent directory resolves against
the wrong repository and fails with "Identifier N cannot be found on the
specified branch". The presence of `Tools/Scripts/git-webkit` at the
repo root distinguishes an OpenSource checkout from an unrelated repo.
Also expand the skill description to make the skill more discoverable
when Claude searches for hash-to-identifier or identifier-to-hash
conversion tools.
Tests: Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py
* .claude/plugins/git-webkit/skills/find/SKILL.md:
* Tools/Scripts/git-webkit:
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py:
(main):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/find.py:
(Find._needs_fallback): Add.
(Find.main):
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/find_unittest.py:
(TestFind.test_fallback_path_no_repo): Add.
(TestFind.test_fallback_path_not_used_for_webkit_repo): Add.
(TestFind.test_fallback_path_ignored_for_info): Add.
Canonical link: https://commits.webkit.org/312314@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications