aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/dotgit
diff options
context:
space:
mode:
Diffstat (limited to 'storage/filesystem/dotgit')
-rw-r--r--storage/filesystem/dotgit/dotgit.go10
-rw-r--r--storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go4
-rw-r--r--storage/filesystem/dotgit/dotgit_setref.go6
-rw-r--r--storage/filesystem/dotgit/dotgit_test.go6
-rw-r--r--storage/filesystem/dotgit/writers.go10
-rw-r--r--storage/filesystem/dotgit/writers_test.go8
6 files changed, 22 insertions, 22 deletions
diff --git a/storage/filesystem/dotgit/dotgit.go b/storage/filesystem/dotgit/dotgit.go
index 7989e53..3ce9dae 100644
--- a/storage/filesystem/dotgit/dotgit.go
+++ b/storage/filesystem/dotgit/dotgit.go
@@ -12,12 +12,12 @@ import (
"strings"
"time"
- "gopkg.in/src-d/go-billy.v4/osfs"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/storage"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "github.com/go-git/go-billy/v5/osfs"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/storage"
+ "github.com/go-git/go-git/v5/utils/ioutil"
- "gopkg.in/src-d/go-billy.v4"
+ "github.com/go-git/go-billy/v5"
)
const (
diff --git a/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go b/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go
index 7f1c02c..43263ea 100644
--- a/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go
+++ b/storage/filesystem/dotgit/dotgit_rewrite_packed_refs.go
@@ -5,8 +5,8 @@ import (
"os"
"runtime"
- "gopkg.in/src-d/go-billy.v4"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "github.com/go-git/go-billy/v5"
+ "github.com/go-git/go-git/v5/utils/ioutil"
)
func (d *DotGit) openAndLockPackedRefsMode() int {
diff --git a/storage/filesystem/dotgit/dotgit_setref.go b/storage/filesystem/dotgit/dotgit_setref.go
index 9da2f31..c057f5c 100644
--- a/storage/filesystem/dotgit/dotgit_setref.go
+++ b/storage/filesystem/dotgit/dotgit_setref.go
@@ -4,10 +4,10 @@ import (
"fmt"
"os"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/utils/ioutil"
- "gopkg.in/src-d/go-billy.v4"
+ "github.com/go-git/go-billy/v5"
)
func (d *DotGit) setRef(fileName, content string, old *plumbing.Reference) (err error) {
diff --git a/storage/filesystem/dotgit/dotgit_test.go b/storage/filesystem/dotgit/dotgit_test.go
index bd4e9f0..87b702d 100644
--- a/storage/filesystem/dotgit/dotgit_test.go
+++ b/storage/filesystem/dotgit/dotgit_test.go
@@ -9,11 +9,11 @@ import (
"strings"
"testing"
- "gopkg.in/src-d/go-billy.v4"
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-billy/v5"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-billy/v5/osfs"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-billy.v4/osfs"
"gopkg.in/src-d/go-git-fixtures.v3"
)
diff --git a/storage/filesystem/dotgit/writers.go b/storage/filesystem/dotgit/writers.go
index 93d2d8c..e2ede93 100644
--- a/storage/filesystem/dotgit/writers.go
+++ b/storage/filesystem/dotgit/writers.go
@@ -5,12 +5,12 @@ import (
"io"
"sync/atomic"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
- "gopkg.in/src-d/go-git.v4/plumbing/format/objfile"
- "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/format/idxfile"
+ "github.com/go-git/go-git/v5/plumbing/format/objfile"
+ "github.com/go-git/go-git/v5/plumbing/format/packfile"
- "gopkg.in/src-d/go-billy.v4"
+ "github.com/go-git/go-billy/v5"
)
// PackWriter is a io.Writer that generates the packfile index simultaneously,
diff --git a/storage/filesystem/dotgit/writers_test.go b/storage/filesystem/dotgit/writers_test.go
index 5a5f7b4..8d3b797 100644
--- a/storage/filesystem/dotgit/writers_test.go
+++ b/storage/filesystem/dotgit/writers_test.go
@@ -8,12 +8,12 @@ import (
"os"
"strconv"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
- "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/format/idxfile"
+ "github.com/go-git/go-git/v5/plumbing/format/packfile"
+ "github.com/go-git/go-billy/v5/osfs"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-billy.v4/osfs"
"gopkg.in/src-d/go-git-fixtures.v3"
)