diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-11-21 08:43:11 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-11-21 08:43:11 +0100 |
commit | 5eb1c562e7deb4191cb160af91a864fb783c1041 (patch) | |
tree | 090b3fef25c728381f384f9e04a86fa9905549c8 /remote.go | |
parent | 90796406c0755f61761fb176cdfe6106f00d903c (diff) | |
download | go-git-5eb1c562e7deb4191cb160af91a864fb783c1041.tar.gz |
*: add pointer to the new transport.Endpoint struct
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -332,7 +332,7 @@ func newSendPackSession(url string, auth transport.AuthMethod) (transport.Receiv return c.NewReceivePackSession(ep, auth) } -func newClient(url string) (transport.Transport, transport.Endpoint, error) { +func newClient(url string) (transport.Transport, *transport.Endpoint, error) { ep, err := transport.NewEndpoint(url) if err != nil { return nil, nil, err |