diff options
Diffstat (limited to 'clients/ssh/git_upload_pack.go')
-rw-r--r-- | clients/ssh/git_upload_pack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/ssh/git_upload_pack.go b/clients/ssh/git_upload_pack.go index d83aadb..513e528 100644 --- a/clients/ssh/git_upload_pack.go +++ b/clients/ssh/git_upload_pack.go @@ -11,7 +11,7 @@ import ( "strings" "gopkg.in/src-d/go-git.v4/clients/common" - "gopkg.in/src-d/go-git.v4/formats/pktline" + "gopkg.in/src-d/go-git.v4/formats/packp/pktline" "golang.org/x/crypto/ssh" ) @@ -123,7 +123,7 @@ func (s *GitUploadPackService) Info() (i *common.GitUploadPackInfo, err error) { } i = common.NewGitUploadPackInfo() - return i, i.Decode(pktline.NewDecoder(bytes.NewReader(out))) + return i, i.Decode(pktline.NewScanner(bytes.NewReader(out))) } // Disconnect the SSH client. |