aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec.go
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2022-03-14 13:00:03 -0400
committerGopher Robot <gobot@golang.org>2022-04-20 20:25:02 +0000
commitc75befeec2a8ef2fea3c41da589ca0ffddda506f (patch)
tree24acceefa80e39ef124408c2b655ae75a7654566 /src/os/exec/exec.go
parent58340240576a9ad254d90da4570e5e6afb913959 (diff)
downloadgo-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/exec.go')
0 files changed, 0 insertions, 0 deletions