diff options
Diffstat (limited to 'clients/common/common.go')
-rw-r--r-- | clients/common/common.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/common/common.go b/clients/common/common.go index c3d15c1..5da0570 100644 --- a/clients/common/common.go +++ b/clients/common/common.go @@ -7,7 +7,7 @@ import ( "strings" "gopkg.in/sourcegraph/go-vcsurl.v1" - "gopkg.in/src-d/go-git.v2/pktline" + "gopkg.in/src-d/go-git.v2/formats/pktline" ) const GitUploadPackServiceName = "git-upload-pack" @@ -160,5 +160,5 @@ func (r *GitUploadPackRequest) Reader() *strings.Reader { e.AddFlush() e.AddLine("done") - return e.GetReader() + return e.Reader() } |