mirror of
https://github.com/golang/go.git
synced 2025-05-31 04:02:58 +00:00
cmd/go: make it work for code.google.com cloned repositories
Thanks to beatgammit for the fix. Fixes #5408. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/13261048
This commit is contained in:
parent
b3fd434ae0
commit
65f21ca2c6
@ -569,7 +569,7 @@ var vcsPaths = []*vcsPath{
|
||||
// Google Code - new syntax
|
||||
{
|
||||
prefix: "code.google.com/",
|
||||
re: `^(?P<root>code\.google\.com/p/(?P<project>[a-z0-9\-]+)(\.(?P<subrepo>[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`,
|
||||
re: `^(?P<root>code\.google\.com/[pr]/(?P<project>[a-z0-9\-]+)(\.(?P<subrepo>[a-z0-9\-]+))?)(/[A-Za-z0-9_.\-]+)*$`,
|
||||
repo: "https://{root}",
|
||||
check: googleCodeVCS,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user