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

Escaped characters in unquoted values #15

Open
filipnavara opened this issue Oct 4, 2018 · 1 comment
Open

Escaped characters in unquoted values #15

filipnavara opened this issue Oct 4, 2018 · 1 comment

Comments

@filipnavara
Copy link

The go-git project uses a forked version gcfg to parse Git .config files. We have recently hit a case that was not handled in a way that is compatible with the parser in Git itself - values that use '\' escaping without quotes around it:

[remote "origin"]
	url = E:\\Git\\emclient\\emclient.git

I don't know whether that is actually a standard for INI files or not, but in go-git it has to be handled for compatibility reasons. I have submitted a PR at src-d#1, so you can take a look.

@speter
Copy link
Contributor

speter commented Oct 5, 2018 via email

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

No branches or pull requests

2 participants