]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix get github
authorRuss Cox <rsc@golang.org>
Tue, 24 Jan 2012 19:15:37 +0000 (14:15 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 24 Jan 2012 19:15:37 +0000 (14:15 -0500)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5569054

src/cmd/go/vcs.go

index b2abd988a4644890bc8f5a194af133821391c85e..074d63bd40cd7ed62bb2e9549ed7a9f2504bb2d5 100644 (file)
@@ -286,6 +286,7 @@ var vcsPaths = []*vcsPath{
        {
                prefix: "github.com/",
                re:     `^(?P<root>github\.com/[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+)(/[A-Za-z0-9_.\-]+)*$`,
+               vcs:    "git",
                repo:   "https://{root}",
                check:  noVCSSuffix,
        },