From d122b72e786f75c99cb6f18ffe1adf0c828c31ac Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Tue, 26 Sep 2023 13:17:19 +0800 Subject: [PATCH] cmd/go/internal/modload: omit space in 'os /exec' --- src/cmd/go/internal/modload/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.