aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2015-10-23 12:16:36 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2015-10-23 12:21:33 +0200
commitcf2874632223220e0445abf0a7806dc772c0b37a (patch)
treec9bfb27a41658c5f76b821349eba85eef496d664
parent758ac33217f092bfcded4ad4774954ac054c9609 (diff)
downloadgo-git-cf2874632223220e0445abf0a7806dc772c0b37a.tar.gz
fixing routes
-rw-r--r--.travis.yml2
-rw-r--r--clients/common/common.go4
-rw-r--r--clients/common/common_test.go2
-rw-r--r--clients/http/git_upload_pack.go2
4 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 7435821..235ad5d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,7 +22,7 @@ script:
- tail -n +2 tmp.out >> coverage.out
- go test -v gopkg.in/src-d/go-git.v2/packfile -covermode=count -coverprofile=tmp.out
- tail -n +2 tmp.out >> coverage.out
- - go test -v gopkg.in/src-d/go-git.v2/pktline -covermode=count -coverprofile=tmp.out
+ - go test -v gopkg.in/src-d/go-git.v2/formats/pktline -covermode=count -coverprofile=tmp.out
- tail -n +2 tmp.out >> coverage.out
after_success:
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) }
diff --git a/clients/http/git_upload_pack.go b/clients/http/git_upload_pack.go
index b128c1c..7e837e1 100644
--- a/clients/http/git_upload_pack.go
+++ b/clients/http/git_upload_pack.go
@@ -7,7 +7,7 @@ import (
"strings"
"gopkg.in/src-d/go-git.v2/clients/common"
- "gopkg.in/src-d/go-git.v2/pktline"
+ "gopkg.in/src-d/go-git.v2/formats/pktline"
)
type GitUploadPackService struct {