Skip to content

Getting Started "Clone Git Repository..." silently fails if you don't have git installed  #120112

@TylerLeonhardt

Description

@TylerLeonhardt

Version: 1.55.0-insider (user setup)
Commit: 26a60db
Date: 2021-03-29T10:27:14.607Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.19042

Steps to Reproduce:

  1. Uninstall git if you have it
  2. Open getting started/welcome page
  3. Click "Clone Git Repository..."

Expected some friendly error message or something but the user sees nothing. Here's what is in dev tools:

  ERR command 'git.clone' not found: Error: command 'git.clone' not found
    at C._tryExecuteCommand (file:///C:/Users/Tyler/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3364)
    at file:///C:/Users/Tyler/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3245

Looks like maybe the git extension isn't activated until git is installed?

Does this issue occur when all extensions are disabled?: N/A

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggetting-startedinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions