aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/packfile
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-03-10 00:40:56 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2020-03-10 00:40:56 +0100
commit2bdfd91f04068220a72feeade31defc09f2a601e (patch)
treeeb3096d97addee6d5a95538a90d37fe4146312e3 /plumbing/format/packfile
parent042981be1fc9aa9b182c3c35b7e2258845e13f49 (diff)
downloadgo-git-2bdfd91f04068220a72feeade31defc09f2a601e.tar.gz
*: migration from gopkg to go modules
Diffstat (limited to 'plumbing/format/packfile')
-rw-r--r--plumbing/format/packfile/common.go4
-rw-r--r--plumbing/format/packfile/common_test.go4
-rw-r--r--plumbing/format/packfile/delta_selector.go4
-rw-r--r--plumbing/format/packfile/delta_selector_test.go4
-rw-r--r--plumbing/format/packfile/diff_delta.go2
-rw-r--r--plumbing/format/packfile/encoder.go6
-rw-r--r--plumbing/format/packfile/encoder_advanced_test.go14
-rw-r--r--plumbing/format/packfile/encoder_test.go8
-rw-r--r--plumbing/format/packfile/fsobject.go8
-rw-r--r--plumbing/format/packfile/object_pack.go2
-rw-r--r--plumbing/format/packfile/object_pack_test.go2
-rw-r--r--plumbing/format/packfile/packfile.go10
-rw-r--r--plumbing/format/packfile/packfile_test.go10
-rw-r--r--plumbing/format/packfile/parser.go6
-rw-r--r--plumbing/format/packfile/parser_test.go8
-rw-r--r--plumbing/format/packfile/patch_delta.go2
-rw-r--r--plumbing/format/packfile/scanner.go6
-rw-r--r--plumbing/format/packfile/scanner_test.go2
18 files changed, 51 insertions, 51 deletions
diff --git a/plumbing/format/packfile/common.go b/plumbing/format/packfile/common.go
index f82c1ab..df423ad 100644
--- a/plumbing/format/packfile/common.go
+++ b/plumbing/format/packfile/common.go
@@ -6,8 +6,8 @@ import (
"io"
"sync"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
- "gopkg.in/src-d/go-git.v4/utils/ioutil"
+ "github.com/go-git/go-git/v5/plumbing/storer"
+ "github.com/go-git/go-git/v5/utils/ioutil"
)
var signature = []byte{'P', 'A', 'C', 'K'}
diff --git a/plumbing/format/packfile/common_test.go b/plumbing/format/packfile/common_test.go
index eafc617..c6d1038 100644
--- a/plumbing/format/packfile/common_test.go
+++ b/plumbing/format/packfile/common_test.go
@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/storage/memory"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/storage/memory"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/delta_selector.go b/plumbing/format/packfile/delta_selector.go
index 6710085..4b60ff3 100644
--- a/plumbing/format/packfile/delta_selector.go
+++ b/plumbing/format/packfile/delta_selector.go
@@ -4,8 +4,8 @@ import (
"sort"
"sync"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/storer"
)
const (
diff --git a/plumbing/format/packfile/delta_selector_test.go b/plumbing/format/packfile/delta_selector_test.go
index 7d7fd0c..3d196d3 100644
--- a/plumbing/format/packfile/delta_selector_test.go
+++ b/plumbing/format/packfile/delta_selector_test.go
@@ -1,8 +1,8 @@
package packfile
import (
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/storage/memory"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/storage/memory"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/diff_delta.go b/plumbing/format/packfile/diff_delta.go
index 43f87a0..1d4b384 100644
--- a/plumbing/format/packfile/diff_delta.go
+++ b/plumbing/format/packfile/diff_delta.go
@@ -3,7 +3,7 @@ package packfile
import (
"bytes"
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-git/v5/plumbing"
)
// See https://github.com/jelmer/dulwich/blob/master/dulwich/pack.py and
diff --git a/plumbing/format/packfile/encoder.go b/plumbing/format/packfile/encoder.go
index b077918..65fae52 100644
--- a/plumbing/format/packfile/encoder.go
+++ b/plumbing/format/packfile/encoder.go
@@ -6,9 +6,9 @@ import (
"fmt"
"io"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
- "gopkg.in/src-d/go-git.v4/utils/binary"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/storer"
+ "github.com/go-git/go-git/v5/utils/binary"
)
// Encoder gets the data from the storage and write it into the writer in PACK
diff --git a/plumbing/format/packfile/encoder_advanced_test.go b/plumbing/format/packfile/encoder_advanced_test.go
index e15126e..e63b5b5 100644
--- a/plumbing/format/packfile/encoder_advanced_test.go
+++ b/plumbing/format/packfile/encoder_advanced_test.go
@@ -6,13 +6,13 @@ import (
"math/rand"
"testing"
- "gopkg.in/src-d/go-billy.v4/memfs"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/cache"
- "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
- . "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
- "gopkg.in/src-d/go-git.v4/storage/filesystem"
+ "github.com/go-git/go-billy/v5/memfs"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/cache"
+ "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-git/v5/plumbing/storer"
+ "github.com/go-git/go-git/v5/storage/filesystem"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
diff --git a/plumbing/format/packfile/encoder_test.go b/plumbing/format/packfile/encoder_test.go
index 80b916d..1721625 100644
--- a/plumbing/format/packfile/encoder_test.go
+++ b/plumbing/format/packfile/encoder_test.go
@@ -5,10 +5,10 @@ import (
"io"
stdioutil "io/ioutil"
- "gopkg.in/src-d/go-billy.v4/memfs"
- "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/storage/memory"
+ "github.com/go-git/go-billy/v5/memfs"
+ "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/storage/memory"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
diff --git a/plumbing/format/packfile/fsobject.go b/plumbing/format/packfile/fsobject.go
index a268bce..c5edaf5 100644
--- a/plumbing/format/packfile/fsobject.go
+++ b/plumbing/format/packfile/fsobject.go
@@ -3,10 +3,10 @@ package packfile
import (
"io"
- billy "gopkg.in/src-d/go-billy.v4"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/cache"
- "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
+ billy "github.com/go-git/go-billy/v5"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/cache"
+ "github.com/go-git/go-git/v5/plumbing/format/idxfile"
)
// FSObject is an object from the packfile on the filesystem.
diff --git a/plumbing/format/packfile/object_pack.go b/plumbing/format/packfile/object_pack.go
index dfea571..8ce29ef 100644
--- a/plumbing/format/packfile/object_pack.go
+++ b/plumbing/format/packfile/object_pack.go
@@ -1,7 +1,7 @@
package packfile
import (
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-git/v5/plumbing"
)
// ObjectToPack is a representation of an object that is going to be into a
diff --git a/plumbing/format/packfile/object_pack_test.go b/plumbing/format/packfile/object_pack_test.go
index ddc7ab5..dc1a285 100644
--- a/plumbing/format/packfile/object_pack_test.go
+++ b/plumbing/format/packfile/object_pack_test.go
@@ -3,7 +3,7 @@ package packfile
import (
"io"
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-git/v5/plumbing"
. "gopkg.in/check.v1"
)
diff --git a/plumbing/format/packfile/packfile.go b/plumbing/format/packfile/packfile.go
index 21a15de..d060041 100644
--- a/plumbing/format/packfile/packfile.go
+++ b/plumbing/format/packfile/packfile.go
@@ -5,11 +5,11 @@ import (
"io"
"os"
- billy "gopkg.in/src-d/go-billy.v4"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/cache"
- "gopkg.in/src-d/go-git.v4/plumbing/format/idxfile"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ billy "github.com/go-git/go-billy/v5"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/cache"
+ "github.com/go-git/go-git/v5/plumbing/format/idxfile"
+ "github.com/go-git/go-git/v5/plumbing/storer"
)
var (
diff --git a/plumbing/format/packfile/packfile_test.go b/plumbing/format/packfile/packfile_test.go
index 455fe65..882a907 100644
--- a/plumbing/format/packfile/packfile_test.go
+++ b/plumbing/format/packfile/packfile_test.go
@@ -4,13 +4,13 @@ import (
"io"
"math"
+ "github.com/go-git/go-billy/v5/osfs"
. "gopkg.in/check.v1"
- "gopkg.in/src-d/go-billy.v4/osfs"
fixtures "gopkg.in/src-d/go-git-fixtures.v3"
- "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"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "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-git/v5/plumbing/storer"
)
type PackfileSuite struct {
diff --git a/plumbing/format/packfile/parser.go b/plumbing/format/packfile/parser.go
index d8c0f75..d411c5b 100644
--- a/plumbing/format/packfile/parser.go
+++ b/plumbing/format/packfile/parser.go
@@ -6,9 +6,9 @@ import (
"io"
"io/ioutil"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/cache"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/cache"
+ "github.com/go-git/go-git/v5/plumbing/storer"
)
var (
diff --git a/plumbing/format/packfile/parser_test.go b/plumbing/format/packfile/parser_test.go
index 6e7c84b..9d97cef 100644
--- a/plumbing/format/packfile/parser_test.go
+++ b/plumbing/format/packfile/parser_test.go
@@ -4,10 +4,10 @@ import (
"io"
"testing"
- git "gopkg.in/src-d/go-git.v4"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/format/packfile"
- "gopkg.in/src-d/go-git.v4/plumbing/storer"
+ git "github.com/go-git/go-git/v5"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/format/packfile"
+ "github.com/go-git/go-git/v5/plumbing/storer"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"
diff --git a/plumbing/format/packfile/patch_delta.go b/plumbing/format/packfile/patch_delta.go
index e1a5141..57c9da7 100644
--- a/plumbing/format/packfile/patch_delta.go
+++ b/plumbing/format/packfile/patch_delta.go
@@ -5,7 +5,7 @@ import (
"errors"
"io"
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-git/v5/plumbing"
)
// See https://github.com/git/git/blob/49fa3dc76179e04b0833542fa52d0f287a4955ac/delta.h
diff --git a/plumbing/format/packfile/scanner.go b/plumbing/format/packfile/scanner.go
index 7b44192..6e6a687 100644
--- a/plumbing/format/packfile/scanner.go
+++ b/plumbing/format/packfile/scanner.go
@@ -11,9 +11,9 @@ import (
stdioutil "io/ioutil"
"sync"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/utils/binary"
- "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/binary"
+ "github.com/go-git/go-git/v5/utils/ioutil"
)
var (
diff --git a/plumbing/format/packfile/scanner_test.go b/plumbing/format/packfile/scanner_test.go
index 3078477..5c1d5c9 100644
--- a/plumbing/format/packfile/scanner_test.go
+++ b/plumbing/format/packfile/scanner_test.go
@@ -4,7 +4,7 @@ import (
"bytes"
"io"
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-git/v5/plumbing"
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git-fixtures.v3"