Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Spaces in user name crash git #33

Open
mlambley opened this issue Feb 15, 2018 · 0 comments
Open

Spaces in user name crash git #33

mlambley opened this issue Feb 15, 2018 · 0 comments

Comments

@mlambley
Copy link

My windows user name is "Mark Lambley". When using gitpad and doing a commit, I get an error due to the space in my name:

C:/Users/Mark Lambley/AppData/Roaming/GitPad/GitPad.exe: C:/Users/Mark: No such file or directory
error: There was a problem with the editor 'C:/Users/Mark Lambley/AppData/Roaming/GitPad/GitPad.exe'.
Please supply the message using either -m or -F option.

I have fixed this by replacing the registry entry with:

"EDITOR"="C:/Users/MARKLA~1/AppData/Roaming/GitPad/GitPad.exe"

I'm not sure whether wrapping quotes around the executable path is within the scope of this program or not, or whether or not you can store the registry path in "dir /X" format, or whether this is simply a matter of providing instructions on how to modify the registry in your readme for users who are getting this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant