]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/modload: omit space in 'os /exec'
authorJes Cok <xigua67damn@gmail.com>
Tue, 26 Sep 2023 05:30:48 +0000 (05:30 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 26 Sep 2023 16:32:13 +0000 (16:32 +0000)
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 <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>

src/cmd/go/internal/modload/init.go

index e1575de2e0e72b14b23ba34a07ac41461e416496..b9d9d2e55278fbe80015f8f1a55fd635a2d44e41 100644 (file)
@@ -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.