-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RemoteHub: Continue On from web does not check if git is existing #123492
Comments
@lszomoru Is this something that would be handled in the |
@joyceerhl, yes, that makes sense to me since there is already code that handles the detection of git in the |
Today Continue On > clone locally still silently errors out if git is missing. Talked with @digitarald this morning, he mentioned
At minimum I think we could show a dialog with a link to https://aka.ms/vscode-install-git vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts Line 473 in 59942f7
|
The reason for this happening is that the git uri handler and most git commands are not even registered if git is missing on extension activation vscode/extensions/git/src/main.ts Lines 206 to 208 in 8c254bb
So the window receives focus on the protocol handler invocation but of course nothing is available to handle the uri. I opened a PR to fix this in the git uri handler specifically: #159505 |
I still see the problem. Nothing happens after Dev tools show: console.ts:137 [Extension Host] Git installation not found. (at console. (/home/aeschli/Downloads/code-insider-x64-1664343998/VSCode-linux-x64/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:142292)) |
@aeschli question about your setup, are you connected to a Linux remote in this case? |
I tested on Linux and to test, I renamed the git symbolic link: |
Marking this issue (specifically from web to desktop) as verified based on #162235 (comment). |
I have a brand new Windows install
Continue On: Clone Repository Locally
Looking in the Dev Tools Console I realize that I don't yet Git installed
-> should show an error message
Or even, deluxe, let me open the Git webpage.
The text was updated successfully, but these errors were encountered: