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:21:33 +0200
commitcf2874632223220e0445abf0a7806dc772c0b37a (patch)
treec9bfb27a41658c5f76b821349eba85eef496d664 /clients/common
parent758ac33217f092bfcded4ad4774954ac054c9609 (diff)
downloadgo-git-cf2874632223220e0445abf0a7806dc772c0b37a.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) }