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

Commit 6b0a598

Browse files
committed
update imports to v3
1 parent 104be68 commit 6b0a598

36 files changed

+64
-64
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ matrix:
1212
install:
1313
- rm -rf $GOPATH/src/gopkg.in/src-d
1414
- mkdir -p $GOPATH/src/gopkg.in/src-d
15-
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-git.v2
15+
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-git.v3
1616
- go get -v -t ./...
1717

1818
script:

blame.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"strings"
99
"unicode/utf8"
1010

11-
"gopkg.in/src-d/go-git.v2/core"
12-
"gopkg.in/src-d/go-git.v2/diff"
11+
"gopkg.in/src-d/go-git.v3/core"
12+
"gopkg.in/src-d/go-git.v3/diff"
1313
)
1414

1515
type Blame struct {

blame_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package git
33
import (
44
"os"
55

6-
"gopkg.in/src-d/go-git.v2/core"
7-
"gopkg.in/src-d/go-git.v2/formats/packfile"
6+
"gopkg.in/src-d/go-git.v3/core"
7+
"gopkg.in/src-d/go-git.v3/formats/packfile"
88

99
. "gopkg.in/check.v1"
1010
)

clients/common.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import (
1515
"fmt"
1616
"net/url"
1717

18-
"gopkg.in/src-d/go-git.v2/clients/common"
19-
"gopkg.in/src-d/go-git.v2/clients/http"
20-
"gopkg.in/src-d/go-git.v2/clients/ssh"
18+
"gopkg.in/src-d/go-git.v3/clients/common"
19+
"gopkg.in/src-d/go-git.v3/clients/http"
20+
"gopkg.in/src-d/go-git.v3/clients/ssh"
2121
)
2222

2323
// DefaultProtocols are the protocols supported by default.

clients/common/common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"io/ioutil"
99
"strings"
1010

11-
"gopkg.in/src-d/go-git.v2/core"
12-
"gopkg.in/src-d/go-git.v2/formats/pktline"
11+
"gopkg.in/src-d/go-git.v3/core"
12+
"gopkg.in/src-d/go-git.v3/formats/pktline"
1313

1414
"gopkg.in/sourcegraph/go-vcsurl.v1"
1515
)

clients/common/common_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"testing"
77

88
. "gopkg.in/check.v1"
9-
"gopkg.in/src-d/go-git.v2/core"
10-
"gopkg.in/src-d/go-git.v2/formats/pktline"
9+
"gopkg.in/src-d/go-git.v3/core"
10+
"gopkg.in/src-d/go-git.v3/formats/pktline"
1111
)
1212

1313
func Test(t *testing.T) { TestingT(t) }

clients/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/clients/common"
9+
"gopkg.in/src-d/go-git.v3/clients/common"
1010
)
1111

1212
func Test(t *testing.T) { TestingT(t) }

clients/http/common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"fmt"
77
"net/http"
88

9-
"gopkg.in/src-d/go-git.v2/clients/common"
9+
"gopkg.in/src-d/go-git.v3/clients/common"
1010

11-
"gopkg.in/src-d/go-git.v2/core"
11+
"gopkg.in/src-d/go-git.v3/core"
1212
)
1313

1414
var InvalidAuthMethodErr = errors.New("invalid http auth method: a http.HTTPAuthMethod should be provided.")

clients/http/git_upload_pack.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"net/http"
77
"strings"
88

9-
"gopkg.in/src-d/go-git.v2/clients/common"
10-
"gopkg.in/src-d/go-git.v2/core"
11-
"gopkg.in/src-d/go-git.v2/formats/pktline"
9+
"gopkg.in/src-d/go-git.v3/clients/common"
10+
"gopkg.in/src-d/go-git.v3/core"
11+
"gopkg.in/src-d/go-git.v3/formats/pktline"
1212
)
1313

1414
type GitUploadPackService struct {

clients/http/git_upload_pack_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"io/ioutil"
55

66
. "gopkg.in/check.v1"
7-
"gopkg.in/src-d/go-git.v2/clients/common"
8-
"gopkg.in/src-d/go-git.v2/core"
7+
"gopkg.in/src-d/go-git.v3/clients/common"
8+
"gopkg.in/src-d/go-git.v3/core"
99
)
1010

1111
type SuiteRemote struct{}

0 commit comments

Comments
 (0)