Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit d10a0e7

Browse files
committed
fixing routes
1 parent 758ac33 commit d10a0e7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clients/common/common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88

99
"gopkg.in/sourcegraph/go-vcsurl.v1"
10-
"gopkg.in/src-d/go-git.v2/pktline"
10+
"gopkg.in/src-d/go-git.v2/formats/pktline"
1111
)
1212

1313
const GitUploadPackServiceName = "git-upload-pack"
@@ -160,5 +160,5 @@ func (r *GitUploadPackRequest) Reader() *strings.Reader {
160160
e.AddFlush()
161161
e.AddLine("done")
162162

163-
return e.GetReader()
163+
return e.Reader()
164164
}

clients/common/common_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"testing"
77

88
. "gopkg.in/check.v1"
9-
"gopkg.in/src-d/go-git.v2/pktline"
9+
"gopkg.in/src-d/go-git.v2/formats/pktline"
1010
)
1111

1212
func Test(t *testing.T) { TestingT(t) }

clients/http/git_upload_pack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"strings"
88

99
"gopkg.in/src-d/go-git.v2/clients/common"
10-
"gopkg.in/src-d/go-git.v2/pktline"
10+
"gopkg.in/src-d/go-git.v2/formats/pktline"
1111
)
1212

1313
type GitUploadPackService struct {

0 commit comments

Comments
 (0)