aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/receive_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/receive_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/receive_pack.go')
-rw-r--r--plumbing/transport/http/receive_pack.go2
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 {