repo string when running go get, like this:
*go get git.mycompany.com/myname/foo.git.git*
*go get git.mycompany.com/myname/foo.git *does not work.
I looked into the *vcs.go* source code, the regex that parse this import
path is this:
This is from *line 612* at *http://golang.org/src/cmd/go/vcs.go*
Notice that *<repo>* group does not contain the *<vcs>* group. So after
parsing, the repo group ends up being *"git.mycompany.com/myname/foo"*, if
parsing against* "git.mycompany.com/myname/foo.git"*
Then the ping command: *git ls-remote* is run against the repo group, which
won't work without *.git* suffix!
Hope I have explained this problem clear enough, anyway the solution is to
include the vcs group inside the repo group like this:
Also I haven't found any test cases for the *vcs.go *code....
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 email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.