1
0
mirror of https://github.com/golang/go synced 2024-09-29 11:34:32 -06:00

cmd/go: remove noVCSSuffix check for OpenStack

The original intent of the code was to allow both with and without .git
suffix for now to allow a transition period. The noVCSSuffix check was a
copy pasta error.

Fixes #15979.

Change-Id: I3d39aba8d026b40fc445244d6d01d8bc1979d1e4
Reviewed-on: https://go-review.googlesource.com/24645
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Monty Taylor 2016-07-01 08:47:41 -05:00 committed by Andrew Gerrand
parent 519b469795
commit afccfb829f

View File

@ -858,7 +858,6 @@ var vcsPaths = []*vcsPath{
re: `^(?P<root>git\.openstack\.org/[A-Za-z0-9_.\-]+/[A-Za-z0-9_.\-]+)(\.git)?(/[A-Za-z0-9_.\-]+)*$`,
vcs: "git",
repo: "https://{root}",
check: noVCSSuffix,
},
// General syntax for any server.