aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Oeser <nightlyone@googlemail.com>2012-03-12 14:41:01 -0400
committerRuss Cox <rsc@golang.org>2012-03-12 14:41:01 -0400
commitd13b24598f3f63db601ac2e0caf3d66fc7431380 (patch)
tree79912ff4cfa3c1a7e3ef93613cb3d2f221652481
parentbd71072eee41cdf7966805a33e509831bfccc7d9 (diff)
downloadgo-d13b24598f3f63db601ac2e0caf3d66fc7431380.tar.gz
go-d13b24598f3f63db601ac2e0caf3d66fc7431380.zip
cmd/go: allow ssh tunnelled bzr, git and svn
This is often used in private hosting and collaborating environments. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5753063
-rw-r--r--src/cmd/go/vcs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/go/vcs.go b/src/cmd/go/vcs.go
index dee7cec37d..642a89f891 100644
--- a/src/cmd/go/vcs.go
+++ b/src/cmd/go/vcs.go
@@ -104,7 +104,7 @@ var vcsGit = &vcsCmd{
tagSyncCmd: "checkout {tag}",
tagSyncDefault: "checkout origin/master",
- scheme: []string{"git", "https", "http"},
+ scheme: []string{"git", "https", "http", "git+ssh"},
pingCmd: "ls-remote {scheme}://{repo}",
}
@@ -123,7 +123,7 @@ var vcsBzr = &vcsCmd{
tagSyncCmd: "update -r {tag}",
tagSyncDefault: "update -r revno:-1",
- scheme: []string{"https", "http", "bzr"},
+ scheme: []string{"https", "http", "bzr", "bzr+ssh"},
pingCmd: "info {scheme}://{repo}",
}
@@ -138,7 +138,7 @@ var vcsSvn = &vcsCmd{
// There is no tag command in subversion.
// The branch information is all in the path names.
- scheme: []string{"https", "http", "svn"},
+ scheme: []string{"https", "http", "svn", "svn+ssh"},
pingCmd: "info {scheme}://{repo}",
}