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

Use double quotes in git shell command on Windows #2004

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

AmeliaBR
Copy link
Contributor

Partially reverts commit f52a115

Fixes #2003. (The single quotes cause the path to be mis-parsed in the windows command prompt, git cannot find the repo, and therefore rebar reports that "Locking of git dependency failed".)

Needs tests to prevent a future regression. (Sorry, this is outside my expertise / time available.)

Partially reverts commit f52a115

Fixes erlang#2003

Needs tests to prevent a future regression.
@ferd
Copy link
Collaborator

ferd commented Jan 24, 2019

well that's an interesting case. This breaks paths with ! on linux, but makes things work on windows... Alright.

@ferd ferd merged commit 036e30b into erlang:master Jan 24, 2019
@AmeliaBR
Copy link
Contributor Author

There's already a conditional that tests for operating system, and I only changed the windows command, so there shouldn't be any side effects in Linux.

@ferd
Copy link
Collaborator

ferd commented Jan 25, 2019

Ah yeah good point, thanks!

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

Successfully merging this pull request may close these issues.

2 participants