diff options
| author | Michael Matloob <matloob@golang.org> | 2022-03-14 13:00:03 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-04-20 20:25:02 +0000 |
| commit | c75befeec2a8ef2fea3c41da589ca0ffddda506f (patch) | |
| tree | 24acceefa80e39ef124408c2b655ae75a7654566 /src/os/exec | |
| parent | 58340240576a9ad254d90da4570e5e6afb913959 (diff) | |
| download | go-c75befeec2a8ef2fea3c41da589ca0ffddda506f.tar.xz | |
cmd/go: don't compute Deps fields if they're not needed
If the user provides the -json flag to explicitly specify fields, but
doesn't specify the Deps or DepsErrors fields, skip computing the deps
fields.
For #29666
Change-Id: I15596c374aba1af13bdf5808d11d54abdc838667
Reviewed-on: https://go-review.googlesource.com/c/go/+/392495
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Michael Matloob <matloob@golang.org>
Auto-Submit: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions
