aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/upload_pack.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-02-15 13:22:12 +0100
committerGitHub <noreply@github.com>2018-02-15 13:22:12 +0100
commit638e0d2864580f611fe5e630314d2fcde6389c60 (patch)
treeab2f3d968f9e4e2bafcf30afeaaf389247a7e1aa /plumbing/transport/http/upload_pack.go
parent01c428c50c89c47e40dfdd4ecf43376cf48e1797 (diff)
parent4cc9a5e73e5731d1033a0d1ec7e424bfa780b25d (diff)
downloadgo-git-638e0d2864580f611fe5e630314d2fcde6389c60.tar.gz
Merge pull request #751 from mcuadros/redirect
transport: http, fix services redirecting only info/refs
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 {