commit | a6023db835ca61f363c5775824af48d9436f4fca | [log] [tgz] |
---|---|---|
author | Bryan C. Mills <bcmills@google.com> | Mon Dec 04 18:29:35 2023 -0500 |
committer | Gopher Robot <gobot@golang.org> | Thu May 16 01:41:07 2024 +0000 |
tree | d66400276cfc76c0c74e773e8ea99aed70eb1896 | |
parent | 0fa334d45a54f2531c16baf97b19048dc01d434d [diff] |
[release-branch.go1.21] cmd/go/internal/modfetch/codehost: add new git tags before statLocal instead of after gitRepo.statLocal reports tag and version information. If we are statting a hash that corresponds to a tag, we need to add that tag before calling statLocal so that it can be included in that information. For #53955. For #56881. For #64586 Change-Id: I69a71428e6ed9096d4cb8ed1bb79531415ff06c1 Reviewed-on: https://go-review.googlesource.com/c/go/+/547155 Auto-Submit: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Matloob <matloob@golang.org> (cherry picked from commit 7b5a3733fce46aa44449c5ba28876f5a1e630650) Reviewed-on: https://go-review.googlesource.com/c/go/+/585815 Reviewed-by: Sam Thanawalla <samthanawalla@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.