aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport
diff options
context:
space:
mode:
authorJon Eskin <eskinjp@gmail.com>2022-08-10 04:10:58 -0400
committerMáximo Cuadros <mcuadros@gmail.com>2022-09-22 10:08:02 +0200
commitaf1efaa7dfb2a33de9c15597dd2cc65ea626cf35 (patch)
tree285e2c2899441bd162028bee9ac7ad31cec2d17d /plumbing/transport
parentbc1f419cebcf7505db31149fa459e9e3f8260e00 (diff)
downloadgo-git-af1efaa7dfb2a33de9c15597dd2cc65ea626cf35.tar.gz
minor grammatical fixes
Diffstat (limited to 'plumbing/transport')
-rw-r--r--plumbing/transport/git/common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/transport/git/common.go b/plumbing/transport/git/common.go
index 306aae2..c18d600 100644
--- a/plumbing/transport/git/common.go
+++ b/plumbing/transport/git/common.go
@@ -77,14 +77,14 @@ func (c *command) StderrPipe() (io.Reader, error) {
return nil, nil
}
-// StdinPipe return the underlying connection as WriteCloser, wrapped to prevent
+// StdinPipe returns the underlying connection as WriteCloser, wrapped to prevent
// call to the Close function from the connection, a command execution in git
// protocol can't be closed or killed
func (c *command) StdinPipe() (io.WriteCloser, error) {
return ioutil.WriteNopCloser(c.conn), nil
}
-// StdoutPipe return the underlying connection as Reader
+// StdoutPipe returns the underlying connection as Reader
func (c *command) StdoutPipe() (io.Reader, error) {
return c.conn, nil
}