Skip to content
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

Cannot read property 'init' of undefined when initializing git repo on an empty folder #21095

Closed
sandy081 opened this issue Feb 22, 2017 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues important Issue identified as high-priority verified Verification succeeded
Milestone

Comments

@sandy081
Copy link
Member

sandy081 commented Feb 22, 2017

Testing #20999 (On Windows)

  • Open VS Code on an empty folder (Also happening on non-empty folders)
  • Go to SCM view
  • Intiailize Git Repo

See following error

image

@sandy081 sandy081 changed the title SCM view should not show commit box if there is no SCM repo Cannot read property 'init' of undefined when initializing git repo on an empty folder Feb 22, 2017
@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug git GIT issues labels Feb 22, 2017
@joaomoreno joaomoreno added this to the February 2017 milestone Feb 22, 2017
@joaomoreno joaomoreno added the important Issue identified as high-priority label Feb 22, 2017
@joaomoreno
Copy link
Member

Great catch!

@aeschli aeschli added the verified Verification succeeded label Feb 24, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues important Issue identified as high-priority verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants