aboutsummaryrefslogtreecommitdiff
path: root/_content/ref/mod.md
diff options
context:
space:
mode:
authorSean Liao <sean@liao.dev>2025-01-24 13:57:34 +0000
committerMichael Knyszek <mknyszek@google.com>2025-02-20 09:07:20 -0800
commit727aff0ea8efc48d97563156e4c9072f364cc30e (patch)
tree1cb575b2aaebe4a5864e40f21bfc417de49bcc71 /_content/ref/mod.md
parent4a6823e457f97e1248da2614fd7718abe41390e3 (diff)
downloadgo-x-website-727aff0ea8efc48d97563156e4c9072f364cc30e.tar.xz
_content/ref: clarify vcs repo url
The text says "up to" without including the vcs identifier, which matches current cmd/go behavior, but the example includes the vcs identifier in the url. For golang/go#71635 Change-Id: If8277b1305c496f3ba20e6c58f5f920cf1ba48a9 Reviewed-on: https://go-review.googlesource.com/c/website/+/644095 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to '_content/ref/mod.md')
-rw-r--r--_content/ref/mod.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md
index 87a0f1b7..9fe06a4a 100644
--- a/_content/ref/mod.md
+++ b/_content/ref/mod.md
@@ -3160,7 +3160,7 @@ If the module path has a VCS qualifier (one of `.bzr`, `.fossil`, `.git`, `.hg`,
`.svn`) at the end of a path component, the `go` command will use everything up
to that path qualifier as the repository URL. For example, for the module
`example.com/foo.git/bar`, the `go` command downloads the repository at
-`example.com/foo.git` using git, expecting to find the module in the `bar`
+`example.com/foo` using git, expecting to find the module in the `bar`
subdirectory. The `go` command will guess the protocol to use based on the
protocols supported by the version control tool.