diff options
author | Santiago M. Mola <santi@mola.io> | 2017-04-27 17:09:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-27 17:09:21 +0200 |
commit | a548013a95c25f830103263c25ca999429b2f9dd (patch) | |
tree | 79a824ccedf4ce516744788f6de1dc768034cb7a /remote.go | |
parent | bc6b1c429f5a6f4d78a17cbe0e1a9927416f4f1b (diff) | |
parent | 45bdbcbe6fdab5a8a4ed4f1b16c191f400a0f6b6 (diff) | |
download | go-git-a548013a95c25f830103263c25ca999429b2f9dd.tar.gz |
Merge pull request #365 from smola/git-rel-path
transport: make Endpoint an interface, fixes #362
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -196,12 +196,12 @@ func newSendPackSession(url string, auth transport.AuthMethod) (transport.Receiv func newClient(url string) (transport.Transport, transport.Endpoint, error) { ep, err := transport.NewEndpoint(url) if err != nil { - return nil, transport.Endpoint{}, err + return nil, nil, err } c, err := client.NewClient(ep) if err != nil { - return nil, transport.Endpoint{}, err + return nil, nil, err } return c, ep, err |