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

Git: Cannot read property 'fsPath' of undefined #24646

Closed
bojand opened this issue Apr 13, 2017 · 4 comments
Closed

Git: Cannot read property 'fsPath' of undefined #24646

bojand opened this issue Apr 13, 2017 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues verified Verification succeeded
Milestone

Comments

@bojand
Copy link

bojand commented Apr 13, 2017

  • VSCode Version: 1.11.1
  • OS Version: macOS Sierra 10.12.4
  • git: 2.9.2

Steps to Reproduce:

  1. in keybindings.json I have:
{ "key": "alt+cmd+p", "command": "git.openChange", "when": "editorFocus" }
  1. Make changes to an open file that's in git source control and save the file. Press alt+cmd+p and I get a notification with error:
Git: Cannot read property 'fsPath' of undefined
@joaomoreno joaomoreno added this to the April 2017 milestone Apr 13, 2017
@joaomoreno joaomoreno added bug Issue identified by VS Code Team member as probable bug git GIT issues labels Apr 13, 2017
@Nightro
Copy link

Nightro commented Apr 15, 2017

Getting exactly the same thing on windows

@jrieken jrieken added the verified Verification succeeded label Apr 26, 2017
@jrieken
Copy link
Member

jrieken commented Apr 26, 2017

Verified that this now doesn't do anything anymore...

@guy-kdm
Copy link

guy-kdm commented Oct 9, 2017

Also getting it, just in the middle of staging files.
screen shot 2017-10-09 at 10 01 09

@hectorsq
Copy link

Getting the same error when staging files. Works fine if I stage the offending file from git gui.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 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 verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

6 participants