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
`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
".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.
Pull request: https://github.com/WebKit/WebKit/pull/19202
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
<rdar://problem/117444237>