aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
Diffstat (limited to 'storage')
-rw-r--r--storage/memory/object.go2
-rw-r--r--storage/memory/object_test.go2
-rw-r--r--storage/memory/storage.go2
-rw-r--r--storage/memory/storage_test.go2
-rw-r--r--storage/seekable/internal/gitdir/gitdir.go6
-rw-r--r--storage/seekable/internal/gitdir/gitdir_test.go6
-rw-r--r--storage/seekable/internal/gitdir/refs.go2
-rw-r--r--storage/seekable/internal/index/index.go6
-rw-r--r--storage/seekable/internal/index/index_test.go4
-rw-r--r--storage/seekable/storage.go10
-rw-r--r--storage/seekable/storage_test.go12
11 files changed, 27 insertions, 27 deletions
diff --git a/storage/memory/object.go b/storage/memory/object.go
index 1720ebd..8c35360 100644
--- a/storage/memory/object.go
+++ b/storage/memory/object.go
@@ -4,7 +4,7 @@ import (
"bytes"
"io/ioutil"
- "gopkg.in/src-d/go-git.v3/core"
+ "gopkg.in/src-d/go-git.v4/core"
)
// Object on memory core.Object implementation
diff --git a/storage/memory/object_test.go b/storage/memory/object_test.go
index 3271254..c252626 100644
--- a/storage/memory/object_test.go
+++ b/storage/memory/object_test.go
@@ -5,7 +5,7 @@ import (
"testing"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v3/core"
+ "gopkg.in/src-d/go-git.v4/core"
)
func Test(t *testing.T) { TestingT(t) }
diff --git a/storage/memory/storage.go b/storage/memory/storage.go
index 84de980..62fd1b4 100644
--- a/storage/memory/storage.go
+++ b/storage/memory/storage.go
@@ -3,7 +3,7 @@ package memory
import (
"fmt"
- "gopkg.in/src-d/go-git.v3/core"
+ "gopkg.in/src-d/go-git.v4/core"
)
var ErrUnsupportedObjectType = fmt.Errorf("unsupported object type")
diff --git a/storage/memory/storage_test.go b/storage/memory/storage_test.go
index 19f4476..200dbba 100644
--- a/storage/memory/storage_test.go
+++ b/storage/memory/storage_test.go
@@ -2,7 +2,7 @@ package memory
import (
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-git.v3/core"
+ "gopkg.in/src-d/go-git.v4/core"
)
type ObjectStorageSuite struct{}
diff --git a/storage/seekable/internal/gitdir/gitdir.go b/storage/seekable/internal/gitdir/gitdir.go
index d3149ee..b5497b8 100644
--- a/storage/seekable/internal/gitdir/gitdir.go
+++ b/storage/seekable/internal/gitdir/gitdir.go
@@ -6,9 +6,9 @@ import (
"os"
"strings"
- "gopkg.in/src-d/go-git.v3/clients/common"
- "gopkg.in/src-d/go-git.v3/core"
- "gopkg.in/src-d/go-git.v3/utils/fs"
+ "gopkg.in/src-d/go-git.v4/clients/common"
+ "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/utils/fs"
)
const (
diff --git a/storage/seekable/internal/gitdir/gitdir_test.go b/storage/seekable/internal/gitdir/gitdir_test.go
index 7504119..a02e0f4 100644
--- a/storage/seekable/internal/gitdir/gitdir_test.go
+++ b/storage/seekable/internal/gitdir/gitdir_test.go
@@ -6,9 +6,9 @@ import (
"strings"
"testing"
- "gopkg.in/src-d/go-git.v3/clients/common"
- "gopkg.in/src-d/go-git.v3/core"
- "gopkg.in/src-d/go-git.v3/utils/fs"
+ "gopkg.in/src-d/go-git.v4/clients/common"
+ "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/utils/fs"
"github.com/alcortesm/tgz"
. "gopkg.in/check.v1"
diff --git a/storage/seekable/internal/gitdir/refs.go b/storage/seekable/internal/gitdir/refs.go
index 9c2e8fb..cfd42fd 100644
--- a/storage/seekable/internal/gitdir/refs.go
+++ b/storage/seekable/internal/gitdir/refs.go
@@ -7,7 +7,7 @@ import (
"os"
"strings"
- "gopkg.in/src-d/go-git.v3/core"
+ "gopkg.in/src-d/go-git.v4/core"
)
var (
diff --git a/storage/seekable/internal/index/index.go b/storage/seekable/internal/index/index.go
index 8e041bd..4282f3e 100644
--- a/storage/seekable/internal/index/index.go
+++ b/storage/seekable/internal/index/index.go
@@ -4,9 +4,9 @@ import (
"fmt"
"io"
- "gopkg.in/src-d/go-git.v3/core"
- "gopkg.in/src-d/go-git.v3/formats/idxfile"
- "gopkg.in/src-d/go-git.v3/formats/packfile"
+ "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/formats/idxfile"
+ "gopkg.in/src-d/go-git.v4/formats/packfile"
)
// Index is a database of objects and their offset in a packfile.
diff --git a/storage/seekable/internal/index/index_test.go b/storage/seekable/internal/index/index_test.go
index 49b3a9d..4ddfc25 100644
--- a/storage/seekable/internal/index/index_test.go
+++ b/storage/seekable/internal/index/index_test.go
@@ -4,8 +4,8 @@ import (
"os"
"testing"
- "gopkg.in/src-d/go-git.v3/core"
- "gopkg.in/src-d/go-git.v3/formats/idxfile"
+ "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/formats/idxfile"
. "gopkg.in/check.v1"
)
diff --git a/storage/seekable/storage.go b/storage/seekable/storage.go
index db436c8..9cc37ba 100644
--- a/storage/seekable/storage.go
+++ b/storage/seekable/storage.go
@@ -5,11 +5,11 @@ import (
"os"
"strings"
- "gopkg.in/src-d/go-git.v3/core"
- "gopkg.in/src-d/go-git.v3/formats/packfile"
- "gopkg.in/src-d/go-git.v3/storage/seekable/internal/gitdir"
- "gopkg.in/src-d/go-git.v3/storage/seekable/internal/index"
- "gopkg.in/src-d/go-git.v3/utils/fs"
+ "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/formats/packfile"
+ "gopkg.in/src-d/go-git.v4/storage/seekable/internal/gitdir"
+ "gopkg.in/src-d/go-git.v4/storage/seekable/internal/index"
+ "gopkg.in/src-d/go-git.v4/utils/fs"
)
// ObjectStorage is an implementation of core.ObjectStorage that stores
diff --git a/storage/seekable/storage_test.go b/storage/seekable/storage_test.go
index bc0ad3d..2002d2b 100644
--- a/storage/seekable/storage_test.go
+++ b/storage/seekable/storage_test.go
@@ -7,12 +7,12 @@ import (
"sort"
"testing"
- "gopkg.in/src-d/go-git.v3/core"
- "gopkg.in/src-d/go-git.v3/formats/packfile"
- "gopkg.in/src-d/go-git.v3/storage/memory"
- "gopkg.in/src-d/go-git.v3/storage/seekable"
- "gopkg.in/src-d/go-git.v3/storage/seekable/internal/gitdir"
- "gopkg.in/src-d/go-git.v3/utils/fs"
+ "gopkg.in/src-d/go-git.v4/core"
+ "gopkg.in/src-d/go-git.v4/formats/packfile"
+ "gopkg.in/src-d/go-git.v4/storage/memory"
+ "gopkg.in/src-d/go-git.v4/storage/seekable"
+ "gopkg.in/src-d/go-git.v4/storage/seekable/internal/gitdir"
+ "gopkg.in/src-d/go-git.v4/utils/fs"
"github.com/alcortesm/tgz"
. "gopkg.in/check.v1"