]> Cypherpunks repositories - gostls13.git/commit
cmd/go: support git.apache.org Git repos
authorKonstantin Shaposhnikov <k.shaposhnikov@gmail.com>
Thu, 14 May 2015 16:53:10 +0000 (00:53 +0800)
committerRuss Cox <rsc@golang.org>
Wed, 22 Jul 2015 19:50:08 +0000 (19:50 +0000)
commit428ed1e3d9e31428b3bf81ed55664a4c34238e4c
tree088f8fb936cd301078685b6c1b0655106abdd037
parentf35bc3ee87e1771891e2087363381bda616e67ee
cmd/go: support git.apache.org Git repos

This change fixes resolution of secure (https) repo URL for
git.apache.org Git repositories.

E.g. the correct repo URL for git.apache.org/thrift.git/lib/go/thrift is
https://git.apache.org/thrift.git, not https://git.apache.org/thrift

Fixes #10797

Change-Id: I67d5312ad8620eb780e42c2e002c8f286f60645a
Reviewed-on: https://go-review.googlesource.com/10092
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/vcs.go
src/cmd/go/vcs_test.go