GO15VENDOREXPERIMENT=1 go get github.com/StephanDollberg/govendorsubmodulestest
I get the error:
# cd .; git --git-dir=/$GOPATH/src/github.com/StephanDollberg/govendorsubmodulestest/.git submodule update --init --recursive
No submodule mapping found in .gitmodules for path 'vendor/github.com/dgrijalva/jwt-go'
package github.com/StephanDollberg/govendorsubmodulestest: exit status 1
Hope it's ok to bump.While looking around I didn't find any another project so far that uses submodules and such I am not sure whether this is a problem of how to add submodules or of the go command side.
`go get` doesn't operate on the vendor/ directory. It's only for the $GOPATH. Issues have been filed.Instead of submodules (or subtrees) I use Glide to manage my vendor/ directory. I'm one of the authors so I'm entirely biased.
@GiulioThanks for your reply. Are you saying that you got it working with git > 1.7? I tried it with several git versions (2.3, 2.4, 2.5) on OSX, Windows and Linux and couldn't get it working.
Does that also work initially (without having the repo already checked out)? Doing -u twice works but the initial checkout is the problem because the git commands that are being executed are different.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.