aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/upload_pack.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-02-14 23:46:09 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2018-02-14 23:46:09 +0100
commit4cc9a5e73e5731d1033a0d1ec7e424bfa780b25d (patch)
tree6a0b0cfe106328b3431cdbbe0c694328df482601 /plumbing/transport/http/upload_pack.go
parent5d5b95168c9ed9f3210ddca5ce220fe3dbbebc0c (diff)
downloadgo-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.go2
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 {