1
0
mirror of https://github.com/golang/go synced 2024-11-25 00:57:59 -07:00

cmd/go: fix get github

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5569054
This commit is contained in:
Russ Cox 2012-01-24 14:15:37 -05:00
parent 565e140a16
commit 59ae15106a

View File

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