diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2018-02-14 23:46:09 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2018-02-14 23:46:09 +0100 |
commit | 4cc9a5e73e5731d1033a0d1ec7e424bfa780b25d (patch) | |
tree | 6a0b0cfe106328b3431cdbbe0c694328df482601 /plumbing/transport/http/upload_pack.go | |
parent | 5d5b95168c9ed9f3210ddca5ce220fe3dbbebc0c (diff) | |
download | go-git-4cc9a5e73e5731d1033a0d1ec7e424bfa780b25d.tar.gz |
transport: http, fix services redirecting only info/refs
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
Diffstat (limited to 'plumbing/transport/http/upload_pack.go')
-rw-r--r-- | plumbing/transport/http/upload_pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/http/upload_pack.go b/plumbing/transport/http/upload_pack.go index 85a57a5..fb5ac36 100644 --- a/plumbing/transport/http/upload_pack.go +++ b/plumbing/transport/http/upload_pack.go @@ -88,7 +88,7 @@ func (s *upSession) doRequest( } applyHeadersToRequest(req, content, s.endpoint.Host, transport.UploadPackServiceName) - s.applyAuthToRequest(req) + s.ApplyAuthToRequest(req) res, err := s.client.Do(req.WithContext(ctx)) if err != nil { |