[go] cmd/go/internal/load: remove StalePath check

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Aug 14, 2026, 10:49:50 PM (2 days ago) Aug 14
to Илья, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Dmitri Shuralyov, golang...@luci-project-accounts.iam.gserviceaccount.com, Michael Matloob, Michael Matloob, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
cmd/go/internal/load: remove StalePath check

The check reported a friendly error for commands imported via the
long-defunct code.google.com/p/go.tools paths. Google Code was shut
down in 2016 and these paths cannot be fetched at all, so the check
is unreachable in practice. Resolves an old TODO.
Change-Id: Icf3b60ebbf5dfc95e2d6d882a3c646cd339ee1e9
Reviewed-by: Michael Matloob <mat...@google.com>
Auto-Submit: Dmitri Shuralyov <dmit...@google.com>
Reviewed-by: Michael Matloob <mat...@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Files:
  • M src/cmd/go/internal/load/pkg.go
Change size: S
Delta: 1 file changed, 2 insertions(+), 15 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: Icf3b60ebbf5dfc95e2d6d882a3c646cd339ee1e9
Gerrit-Change-Number: 813960
Gerrit-PatchSet: 2
Gerrit-Owner: Илья <il.t...@gmail.com>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@golang.org>
Gerrit-Reviewer: Michael Matloob <mat...@google.com>
Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages