]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: remove noVCSSuffix check for OpenStack
authorMonty Taylor <mordred@inaugust.com>
Fri, 1 Jul 2016 13:47:41 +0000 (08:47 -0500)
committerAndrew Gerrand <adg@golang.org>
Sun, 3 Jul 2016 23:07:59 +0000 (23:07 +0000)
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>
src/cmd/go/vcs.go

index df37c1a1f12c300eff70a87e7f58627dda1e32ed..53ddbe694eec327b9de156823aba2aa0e24a39d8 100644 (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.