Skip to content

Commit

Permalink
cmd/go: remove noVCSSuffix check for OpenStack
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
emonty authored and adg committed Jul 3, 2016
1 parent 519b469 commit afccfb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmd/go/vcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit afccfb8

Please sign in to comment.