diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-17 12:20:56 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-02-17 12:20:56 +0100 |
commit | 6b0a5984ac0c69742e60a39ad9437fd981dbe31b (patch) | |
tree | 403363a3be1062d9fdc08e37a8d898e98f80bb69 /clients | |
parent | 104be6870196d221a06291917c8660412a96cdbc (diff) | |
download | go-git-6b0a5984ac0c69742e60a39ad9437fd981dbe31b.tar.gz |
update imports to v3
Diffstat (limited to 'clients')
-rw-r--r-- | clients/common.go | 6 | ||||
-rw-r--r-- | clients/common/common.go | 4 | ||||
-rw-r--r-- | clients/common/common_test.go | 4 | ||||
-rw-r--r-- | clients/common_test.go | 2 | ||||
-rw-r--r-- | clients/http/common.go | 4 | ||||
-rw-r--r-- | clients/http/git_upload_pack.go | 6 | ||||
-rw-r--r-- | clients/http/git_upload_pack_test.go | 4 | ||||
-rw-r--r-- | clients/ssh/auth_method.go | 2 | ||||
-rw-r--r-- | clients/ssh/git_upload_pack.go | 4 | ||||
-rw-r--r-- | clients/ssh/git_upload_pack_test.go | 4 |
10 files changed, 20 insertions, 20 deletions
diff --git a/clients/common.go b/clients/common.go index f7868cf..55b3b4b 100644 --- a/clients/common.go +++ b/clients/common.go @@ -15,9 +15,9 @@ import ( "fmt" "net/url" - "gopkg.in/src-d/go-git.v2/clients/common" - "gopkg.in/src-d/go-git.v2/clients/http" - "gopkg.in/src-d/go-git.v2/clients/ssh" + "gopkg.in/src-d/go-git.v3/clients/common" + "gopkg.in/src-d/go-git.v3/clients/http" + "gopkg.in/src-d/go-git.v3/clients/ssh" ) // DefaultProtocols are the protocols supported by default. diff --git a/clients/common/common.go b/clients/common/common.go index ec04dda..5aa6269 100644 --- a/clients/common/common.go +++ b/clients/common/common.go @@ -8,8 +8,8 @@ import ( "io/ioutil" "strings" - "gopkg.in/src-d/go-git.v2/core" - "gopkg.in/src-d/go-git.v2/formats/pktline" + "gopkg.in/src-d/go-git.v3/core" + "gopkg.in/src-d/go-git.v3/formats/pktline" "gopkg.in/sourcegraph/go-vcsurl.v1" ) diff --git a/clients/common/common_test.go b/clients/common/common_test.go index c8dafe9..091e5fa 100644 --- a/clients/common/common_test.go +++ b/clients/common/common_test.go @@ -6,8 +6,8 @@ import ( "testing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v2/core" - "gopkg.in/src-d/go-git.v2/formats/pktline" + "gopkg.in/src-d/go-git.v3/core" + "gopkg.in/src-d/go-git.v3/formats/pktline" ) func Test(t *testing.T) { TestingT(t) } diff --git a/clients/common_test.go b/clients/common_test.go index c3b766b..88f66ab 100644 --- a/clients/common_test.go +++ b/clients/common_test.go @@ -6,7 +6,7 @@ import ( "testing" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v2/clients/common" + "gopkg.in/src-d/go-git.v3/clients/common" ) func Test(t *testing.T) { TestingT(t) } diff --git a/clients/http/common.go b/clients/http/common.go index aa6e7a1..f163cfc 100644 --- a/clients/http/common.go +++ b/clients/http/common.go @@ -6,9 +6,9 @@ import ( "fmt" "net/http" - "gopkg.in/src-d/go-git.v2/clients/common" + "gopkg.in/src-d/go-git.v3/clients/common" - "gopkg.in/src-d/go-git.v2/core" + "gopkg.in/src-d/go-git.v3/core" ) var InvalidAuthMethodErr = errors.New("invalid http auth method: a http.HTTPAuthMethod should be provided.") diff --git a/clients/http/git_upload_pack.go b/clients/http/git_upload_pack.go index 2d38d42..7a3d296 100644 --- a/clients/http/git_upload_pack.go +++ b/clients/http/git_upload_pack.go @@ -6,9 +6,9 @@ import ( "net/http" "strings" - "gopkg.in/src-d/go-git.v2/clients/common" - "gopkg.in/src-d/go-git.v2/core" - "gopkg.in/src-d/go-git.v2/formats/pktline" + "gopkg.in/src-d/go-git.v3/clients/common" + "gopkg.in/src-d/go-git.v3/core" + "gopkg.in/src-d/go-git.v3/formats/pktline" ) type GitUploadPackService struct { diff --git a/clients/http/git_upload_pack_test.go b/clients/http/git_upload_pack_test.go index f9ec424..0b76fb9 100644 --- a/clients/http/git_upload_pack_test.go +++ b/clients/http/git_upload_pack_test.go @@ -4,8 +4,8 @@ import ( "io/ioutil" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v2/clients/common" - "gopkg.in/src-d/go-git.v2/core" + "gopkg.in/src-d/go-git.v3/clients/common" + "gopkg.in/src-d/go-git.v3/core" ) type SuiteRemote struct{} diff --git a/clients/ssh/auth_method.go b/clients/ssh/auth_method.go index 445d502..c680336 100644 --- a/clients/ssh/auth_method.go +++ b/clients/ssh/auth_method.go @@ -4,7 +4,7 @@ import ( "fmt" "golang.org/x/crypto/ssh" - "gopkg.in/src-d/go-git.v2/clients/common" + "gopkg.in/src-d/go-git.v3/clients/common" ) // AuthMethod is the interface all auth methods for the ssh client diff --git a/clients/ssh/git_upload_pack.go b/clients/ssh/git_upload_pack.go index 09cb5ab..0d824cd 100644 --- a/clients/ssh/git_upload_pack.go +++ b/clients/ssh/git_upload_pack.go @@ -12,8 +12,8 @@ import ( "io/ioutil" "net/url" - "gopkg.in/src-d/go-git.v2/clients/common" - "gopkg.in/src-d/go-git.v2/formats/pktline" + "gopkg.in/src-d/go-git.v3/clients/common" + "gopkg.in/src-d/go-git.v3/formats/pktline" "github.com/sourcegraph/go-vcsurl" "golang.org/x/crypto/ssh" diff --git a/clients/ssh/git_upload_pack_test.go b/clients/ssh/git_upload_pack_test.go index 673e0fc..4b50c4c 100644 --- a/clients/ssh/git_upload_pack_test.go +++ b/clients/ssh/git_upload_pack_test.go @@ -9,8 +9,8 @@ import ( "golang.org/x/crypto/ssh/agent" . "gopkg.in/check.v1" - "gopkg.in/src-d/go-git.v2/clients/common" - "gopkg.in/src-d/go-git.v2/core" + "gopkg.in/src-d/go-git.v3/clients/common" + "gopkg.in/src-d/go-git.v3/core" ) type SuiteRemote struct{} |