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
313682
`git-webkit find` fails when run from outside the OpenSource checkout
https://bugs.webkit.org/show_bug.cgi?id=313682
Summary
`git-webkit find` fails when run from outside the OpenSource checkout
David Kilzer (:ddkilzer)
Reported
2026-04-29 13:39:49 PDT
Running `git-webkit find <identifier>` from a directory that is not an OpenSource checkout resolves against the wrong git repository: ``` $ cd /some/other/git/repo/above $ ./OpenSource/Tools/Scripts/git-webkit find
312293@main
Identifier 312293 cannot be found on the specified branch in the current checkout. Latest identifier on this branch is 1724 ``` Or it generates a "No repository provided" error message if run from a directory that doesn't have a git repository: ``` $ cd /current/working/directory $ ./OpenSource/Tools/Scripts/git-webkit find
312293@main
WARNING:webkitscmpy:No repository found at '/current/working/directory' No repository provided ``` This happens because `program.main()` defaults to `os.getcwd()` for repository resolution. If CWD is inside any git repo (e.g., a parent directory that happens to be a different git repo), that repo is used instead of the OpenSource repo the script lives in. If there is no git repo at CWD, it just exits with an error.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-04-29 13:52:00 PDT
<
rdar://problem/175882224
>
David Kilzer (:ddkilzer)
Comment 2
2026-04-29 13:55:50 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/63922
EWS
Comment 3
2026-04-29 14:07:26 PDT
Committed
312314@main
(d8199ef1f019): <
https://commits.webkit.org/312314@main
> Reviewed commits have been landed. Closing PR #63922 and removing active labels.
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