From: Jes Cok Date: Tue, 26 Sep 2023 05:30:48 +0000 (+0000) Subject: cmd/go/internal/modload: omit space in 'os /exec' X-Git-Tag: go1.22rc1~745 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=17bddc8bf4fdbe50ea67f75db5cddc3061b5000d;p=gostls13.git cmd/go/internal/modload: omit space in 'os /exec' Change-Id: I94517aa7e1db1cd2bb1314bf12ade45183bbeffe GitHub-Last-Rev: d122b72e786f75c99cb6f18ffe1adf0c828c31ac GitHub-Pull-Request: golang/go#63227 Reviewed-on: https://go-review.googlesource.com/c/go/+/531135 Reviewed-by: Bryan Mills Reviewed-by: Than McIntosh LUCI-TryBot-Result: Go LUCI Auto-Submit: Bryan Mills --- diff --git a/src/cmd/go/internal/modload/init.go b/src/cmd/go/internal/modload/init.go index e1575de2e0..b9d9d2e552 100644 --- a/src/cmd/go/internal/modload/init.go +++ b/src/cmd/go/internal/modload/init.go @@ -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.