-
Notifications
You must be signed in to change notification settings - Fork 11
Doesn't work with agamigo.io/material #3
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
Comments
So it looks like there's a difference in behaviour between command line git and go-git. I've opened a go-git ticket: |
func TestClone(t *testing.T) {
_, err := git.Clone(memory.NewStorage(), memfs.New(), &git.CloneOptions{
URL: "https://gitlab.com/agamigo/material",
SingleBranch: true,
Depth: 1,
RecurseSubmodules: git.DefaultSubmoduleRecursionDepth,
})
if err != nil {
t.Fatal(err)
}
} Output:
|
I suspect it's connected with: |
Hey @bzub I think this is yours? It looks like there's a bug in However, while we wait for that to be fixed, you can fix it by making a change to your vanity package path response: This is your response:
It's instructing us to use If we ask
It responds with I'll continue looking for a better solution to this... It would be ideal if |
I've updated my go-import meta tags and it's working as expected. Thanks for looking into this @dave! It could be that I'm just using the git fetch URL incorrectly, and that the git command is allowing it for convenience. Maybe a little documentation/error message in jsgo is all that's needed to point users having the same issue in the right direction. |
It's ok - looks like the go-git people are keen to work the same as git... They have a PR for this bug now: src-d/go-git#751 |
Bug fixed in go-git! |
This should work... Must be a bug in getter.
The text was updated successfully, but these errors were encountered: