-
Notifications
You must be signed in to change notification settings - Fork 703
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
fix(submodule): cloning submodule using ssh url #464
base: master
Are you sure you want to change the base?
Conversation
Im not sure how to add a new fixture for this test, can someone help me out with that? |
@mcuadros, can you review? This is quite a big bug. |
@mcuadros bump |
@mcuadros Any update here ? |
Here's an upstream fork that people can use until this is merged. https://github.com/smallcase/go-git v5.4.3 |
I've review the changes in this PR:
|
FWIW, this fix (as present in hte argo fork, doesn't seem to work for me), I thin it is passing the wrong URL on to github...
|
For submodules specified with an absolute URL this is also needed... |
This was patched in the Digital Ocean fork here: digitalocean#5 |
Changed from
net/url
stdlib to git-urlsAccording to the function description it does the following things:
Example:
returns:
Fixes #397