andrewrynhard / atom-git-gui

A gui for git.
MIT License
14 stars 5 forks source link

Doesn't work with paths that contain spaces #13

Open j-waters opened 7 years ago

j-waters commented 7 years ago

I have a project folder located at "C:\Users\\My Documents\Workspace\". However, git-gui doesn't seem to recognise that this is a git repository. Upon entering the developer console, there are the following lines:

Error: Failed to resolve path 'C:\Users\\My.git': The system cannot find the path specified. (…) -- git-gui-staging-area-view.coffee:133 Error: Failed to resolve path 'C:\Users\\My.git': The system cannot find the path specified. (…) -- git-gui-view.coffee:162 Error: Failed to resolve path 'C:\Users\\My.git': The system cannot find the path specified. (…) -- git-gui-config-view.coffee:55

EDIT: Even when the path contains no spaces, I'm still getting this error:

TypeError: Path must be a string. Received undefined(…) -- git-gui-config-view.coffee:55