aboutsummaryrefslogtreecommitdiffstats
path: root/clients/common
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:16:45 +0200
commitd10a0e7c1f340a6cfc14540a5f8c508ce7e2eabf (patch)
treec584d43ce934d4b8ef576829dd10a8598b6428c6 /clients/common
parent758ac33217f092bfcded4ad4774954ac054c9609 (diff)
downloadgo-git-d10a0e7c1f340a6cfc14540a5f8c508ce7e2eabf.tar.gz
fixing routes
Diffstat (limited to 'clients/common')
-rw-r--r--clients/common/common.go4
-rw-r--r--clients/common/common_test.go2
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) }