WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
263293
git-webkit warns "environment: line 1: .ToolsScriptsgit-webkit: command not found" with Windows Git
https://bugs.webkit.org/show_bug.cgi?id=263293
Summary
git-webkit warns "environment: line 1: .ToolsScriptsgit-webkit: command not f...
Fujii Hironori
Reported
2023-10-17 17:26:43 PDT
git-webkit warns "environment: line 1: .ToolsScriptsgit-webkit: command not found" with Windows Git git-webkit delete-pr-branches and git-webkit pr reports the warning. PS C:\home\webkit\gc> python .\Tools\Scripts\git-webkit delete-pr-branches Deleted branch eng/REGRESSION269405mainWin-OPTNOICF-linker-switch-is-duplicated-for-debug-build (was fdaaeda4c9bb). environment: line 1: .ToolsScriptsgit-webkit: command not found Pushing to fork, which has no classification. Treating it as a public remote No novel content being pushed To
https://github.com/fujii/WebKit.git
- [deleted] eng/REGRESSION269405mainWin-OPTNOICF-linker-switch-is-duplicated-for-debug-build Deleted branch eng/WinClang-Remove--fmsc-version1911-compiler-switch (was 4be7bc36070c). environment: line 1: .ToolsScriptsgit-webkit: command not found Pushing to fork, which has no classification. Treating it as a public remote No novel content being pushed To
https://github.com/fujii/WebKit.git
- [deleted] eng/WinClang-Remove--fmsc-version1911-compiler-switch
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2023-10-17 18:01:26 PDT
`git push` reports the message. PS C:\home\webkit\gc> git push -f fork environment: line 1: .ToolsScriptsgit-webkit: command not found Pushing to fork, which has no classification. Treating it as a public remote No novel content being pushed Everything up-to-date
Fujii Hironori
Comment 2
2023-10-17 18:08:29 PDT
".git/config" contains the following lines.
> [credential "
https://github.com
"] > helper = "!f() { .\\Tools\\Scripts\\git-webkit -C
https://github.com/WebKit/WebKit
credentials; }; f"
Replacing "\\" with "\\\\" works around the problem.
Fujii Hironori
Comment 3
2023-10-17 18:23:31 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/19202
Fujii Hironori
Comment 4
2023-10-17 18:25:12 PDT
This problem can be worked around by invoking "git-webkit setup" with slashs
> python ./Tools/Scripts/git-webkit setup
Not with backslashs
> python .\Tools\Scripts\git-webkit setup
Radar WebKit Bug Importer
Comment 5
2023-10-24 17:27:26 PDT
<
rdar://problem/117444237
>
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