diff options
Diffstat (limited to 'clients/http/git_upload_pack.go')
-rw-r--r-- | clients/http/git_upload_pack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/http/git_upload_pack.go b/clients/http/git_upload_pack.go index eb8db0b..f652150 100644 --- a/clients/http/git_upload_pack.go +++ b/clients/http/git_upload_pack.go @@ -78,7 +78,7 @@ func (s *GitUploadPackService) Info() (*common.GitUploadPackInfo, error) { defer res.Body.Close() i := common.NewGitUploadPackInfo() - return i, i.Decode(pktline.NewScanner(res.Body)) + return i, i.Decode(res.Body) } // Fetch request and returns a reader to a packfile |