diff options
Diffstat (limited to 'clients/common')
-rw-r--r-- | clients/common/common.go | 4 | ||||
-rw-r--r-- | clients/common/common_test.go | 2 |
2 files changed, 3 insertions, 3 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() } diff --git a/clients/common/common_test.go b/clients/common/common_test.go index 37d4ff9..74492f0 100644 --- a/clients/common/common_test.go +++ b/clients/common/common_test.go @@ -6,7 +6,7 @@ import ( "testing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v2/pktline" + "gopkg.in/src-d/go-git.v2/formats/pktline" ) func Test(t *testing.T) { TestingT(t) } |