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/receive_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/receive_pack.go')
-rw-r--r-- | plumbing/transport/http/receive_pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/http/receive_pack.go b/plumbing/transport/http/receive_pack.go index e5cae28..72ba0ec 100644 --- a/plumbing/transport/http/receive_pack.go +++ b/plumbing/transport/http/receive_pack.go @@ -90,7 +90,7 @@ func (s *rpSession) doRequest( } applyHeadersToRequest(req, content, s.endpoint.Host, transport.ReceivePackServiceName) - s.applyAuthToRequest(req) + s.ApplyAuthToRequest(req) res, err := s.client.Do(req.WithContext(ctx)) if err != nil { |