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

Commit cf28746

Browse files
committed
fixing routes
1 parent 758ac33 commit cf28746

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ script:
2222
- tail -n +2 tmp.out >> coverage.out
2323
- go test -v gopkg.in/src-d/go-git.v2/packfile -covermode=count -coverprofile=tmp.out
2424
- tail -n +2 tmp.out >> coverage.out
25-
- go test -v gopkg.in/src-d/go-git.v2/pktline -covermode=count -coverprofile=tmp.out
25+
- go test -v gopkg.in/src-d/go-git.v2/formats/pktline -covermode=count -coverprofile=tmp.out
2626
- tail -n +2 tmp.out >> coverage.out
2727

2828
after_success:

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)