]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix capitalization of Bitbucket, document Git support
authorJohn Howard Palevich <jack.palevich@gmail.com>
Sat, 6 Apr 2013 20:06:11 +0000 (04:06 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Sat, 6 Apr 2013 20:06:11 +0000 (04:06 +0800)
Fixes #5226.

R=golang-dev, minux.ma, iant
CC=golang-dev
https://golang.org/cl/8320044

src/cmd/go/doc.go
src/cmd/go/help.go
src/cmd/go/vcs.go

index 3b22e0f04a154527aff263f2fe08eeba0688f1a2..dcf6612f1f4e806d6edc5258c97277b1ac04221d 100644 (file)
@@ -582,7 +582,7 @@ a revision control system.
 
 A few common code hosting sites have special syntax:
 
-       BitBucket (Mercurial)
+       Bitbucket (Git, Mercurial)
 
                import "bitbucket.org/user/project"
                import "bitbucket.org/user/project/sub/directory"
index 6d2bd7dbb9bd3a5c7e454eb2bedc27effa578f45..c70a25fdd7a5797a650f9868f54b1915f66bce29 100644 (file)
@@ -20,13 +20,13 @@ denotes the package in that directory.
 
 Otherwise, the import path P denotes the package found in
 the directory DIR/src/P for some DIR listed in the GOPATH
-environment variable (see 'go help gopath'). 
+environment variable (see 'go help gopath').
 
 If no import paths are given, the action applies to the
 package in the current directory.
 
 The special import path "all" expands to all package directories
-found in all the GOPATH trees.  For example, 'go list all' 
+found in all the GOPATH trees.  For example, 'go list all'
 lists all the packages on the local system.
 
 The special import path "std" is like all but expands to just the
@@ -68,7 +68,7 @@ a revision control system.
 
 A few common code hosting sites have special syntax:
 
-       BitBucket (Mercurial)
+       Bitbucket (Git, Mercurial)
 
                import "bitbucket.org/user/project"
                import "bitbucket.org/user/project/sub/directory"
@@ -232,7 +232,7 @@ Here's an example directory layout:
                     bar.a          (installed package object)
 
 Go searches each directory listed in GOPATH to find source code,
-but new packages are always downloaded into the first directory 
+but new packages are always downloaded into the first directory
 in the list.
        `,
 }
index b995794416b877b289282d6eb9ecd81995baa95f..39881a6dc70657a0b7632c6550bbeb617b4f64bb 100644 (file)
@@ -641,7 +641,7 @@ func oldGoogleCode(match map[string]string) error {
 }
 
 // bitbucketVCS determines the version control system for a
-// BitBucket repository, by using the BitBucket API.
+// Bitbucket repository, by using the Bitbucket API.
 func bitbucketVCS(match map[string]string) error {
        if err := noVCSSuffix(match); err != nil {
                return err