Skip to content

Add missing user field to git clone ssh url #278

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

Merged
merged 1 commit into from
Jul 16, 2016

Conversation

LiyouZhou
Copy link
Contributor

for --protocol=ssh mbed-cli tries to guess the url passed to git. However, the user field is not captured in the .lib file (if the url is http based in the .lib) and hence not encoded in the url. ssh will attempt to use the currently logged in user which usually fails. This patch assumes the user to be "git" which allow mbed-cli to work at least with github and other common publicly hosted git systems.

@screamerbg
Copy link
Contributor

Thanks. LGTM

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