diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2015-11-05 23:48:38 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2015-11-05 23:48:38 +0100 |
commit | 8a305e98171cbb70e58e67c9c939eb768b886510 (patch) | |
tree | 409a9162a75f4a2e5d0edce341d3addbb8b75114 /clients/http | |
parent | 6be0bc1233b1a31e749354f1d54104b49d5bf19b (diff) | |
download | go-git-8a305e98171cbb70e58e67c9c939eb768b886510.tar.gz |
clients: GitUploadPackInfo head change
Diffstat (limited to 'clients/http')
-rw-r--r-- | clients/http/common.go | 1 | ||||
-rw-r--r-- | clients/http/git_upload_pack.go | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/clients/http/common.go b/clients/http/common.go index fc3a236..f0f2e6b 100644 --- a/clients/http/common.go +++ b/clients/http/common.go @@ -6,6 +6,7 @@ import ( "net/http" "gopkg.in/src-d/go-git.v2/clients/common" + "gopkg.in/src-d/go-git.v2/core" ) diff --git a/clients/http/git_upload_pack.go b/clients/http/git_upload_pack.go index 217e4aa..2d38d42 100644 --- a/clients/http/git_upload_pack.go +++ b/clients/http/git_upload_pack.go @@ -85,7 +85,6 @@ func (s *GitUploadPackService) doRequest(method, url string, content *strings.Re s.applyAuthToRequest(req) res, err := s.Client.Do(req) - if err != nil { return nil, core.NewUnexpectedError(err) } |