-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go: prevent git from fetching during local only mode
Since we added a local context to git lookups, we need to be more careful about fetching from remote. We should not fetch when we are stamping a binary because that could slow down builds. For #50603 Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest Change-Id: I81a719b7609e8d30b32ffb3c12a05074c5fd0c22 Reviewed-on: https://go-review.googlesource.com/c/go/+/611916 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Matloob <[email protected]>
- Loading branch information
1 parent
83fbd0a
commit 43cf731
Showing
1 changed file
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters