mirror of https://github.com/golang/go.git
cmd/go/internal/modload: omit space in 'os /exec'
Change-Id: I94517aa7e1db1cd2bb1314bf12ade45183bbeffe
GitHub-Last-Rev: d122b72e78
GitHub-Pull-Request: golang/go#63227
Reviewed-on: https://go-review.googlesource.com/c/go/+/531135
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
This commit is contained in:
parent
5e9afab7df
commit
17bddc8bf4
|
|
@ -414,7 +414,7 @@ func Init() {
|
|||
// Disable any ssh connection pooling by Git.
|
||||
// If a Git subprocess forks a child into the background to cache a new connection,
|
||||
// that child keeps stdout/stderr open. After the Git subprocess exits,
|
||||
// os /exec expects to be able to read from the stdout/stderr pipe
|
||||
// os/exec expects to be able to read from the stdout/stderr pipe
|
||||
// until EOF to get all the data that the Git subprocess wrote before exiting.
|
||||
// The EOF doesn't come until the child exits too, because the child
|
||||
// is holding the write end of the pipe.
|
||||
|
|
|
|||
Loading…
Reference in New Issue