aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/server
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-05-02 23:36:12 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2021-05-02 23:36:12 +0200
commit67af9d7223b0cc643025d958c592291f7475ac75 (patch)
treea8d14d0e88fd57ae84c2614d7c2fb9c6527438a5 /plumbing/transport/server
parentc69d5331743e49d3672897cf1c552e5e123d4509 (diff)
downloadgo-git-67af9d7223b0cc643025d958c592291f7475ac75.tar.gz
utils: ioutil, Pipe implementatio
Diffstat (limited to 'plumbing/transport/server')
-rw-r--r--plumbing/transport/server/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/server/server.go b/plumbing/transport/server/server.go
index 6f89ec3..8ab70fe 100644
--- a/plumbing/transport/server/server.go
+++ b/plumbing/transport/server/server.go
@@ -166,7 +166,7 @@ func (s *upSession) UploadPack(ctx context.Context, req *packp.UploadPackRequest
return nil, err
}
- pr, pw := io.Pipe()
+ pr, pw := ioutil.Pipe()
e := packfile.NewEncoder(pw, s.storer, false)
go func() {
// TODO: plumb through a pack window.