From: Cameron Bedard Date: Thu, 26 Jan 2023 01:05:20 +0000 (+0000) Subject: cmd/go/internal/vcs: fix outdated comment X-Git-Tag: go1.21rc1~1784 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=89de906aa20b18f801b1c44abc03f298ae850954;p=gostls13.git cmd/go/internal/vcs: fix outdated comment Function was was replaced in https://go.dev/cl/12143. Fixes #57718 Change-Id: I56ff9390af9ae31803805fa27d2c08b5e1d842e1 GitHub-Last-Rev: b8c9dbccbc0b412fd7833d4df9d347953798b17b GitHub-Pull-Request: golang/go#57767 Reviewed-on: https://go-review.googlesource.com/c/go/+/461610 TryBot-Result: Gopher Robot Auto-Submit: Dmitri Shuralyov Run-TryBot: Bryan Mills Reviewed-by: Bryan Mills Reviewed-by: Dmitri Shuralyov --- diff --git a/src/cmd/go/internal/vcs/vcs.go b/src/cmd/go/internal/vcs/vcs.go index ef54c6626d..2ef115da31 100644 --- a/src/cmd/go/internal/vcs/vcs.go +++ b/src/cmd/go/internal/vcs/vcs.go @@ -1270,7 +1270,7 @@ func urlForImportPath(importPath string) (*urlpkg.URL, error) { } // repoRootForImportDynamic finds a *RepoRoot for a custom domain that's not -// statically known by repoRootForImportPathStatic. +// statically known by repoRootFromVCSPaths. // // This handles custom import paths like "name.tld/pkg/foo" or just "name.tld". func repoRootForImportDynamic(importPath string, mod ModuleMode, security web.SecurityMode) (*RepoRoot, error) {