aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/diff
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/diff
parent042981be1fc9aa9b182c3c35b7e2258845e13f49 (diff)
downloadgo-git-2bdfd91f04068220a72feeade31defc09f2a601e.tar.gz
*: migration from gopkg to go modules
Diffstat (limited to 'plumbing/format/diff')
-rw-r--r--plumbing/format/diff/patch.go4
-rw-r--r--plumbing/format/diff/unified_encoder.go2
-rw-r--r--plumbing/format/diff/unified_encoder_test.go4
3 files changed, 5 insertions, 5 deletions
diff --git a/plumbing/format/diff/patch.go b/plumbing/format/diff/patch.go
index 7c6cf4a..39a66a1 100644
--- a/plumbing/format/diff/patch.go
+++ b/plumbing/format/diff/patch.go
@@ -1,8 +1,8 @@
package diff
import (
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/filemode"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/filemode"
)
// Operation defines the operation of a diff item.
diff --git a/plumbing/format/diff/unified_encoder.go b/plumbing/format/diff/unified_encoder.go
index ce3bc7c..f2bc910 100644
--- a/plumbing/format/diff/unified_encoder.go
+++ b/plumbing/format/diff/unified_encoder.go
@@ -7,7 +7,7 @@ import (
"regexp"
"strings"
- "gopkg.in/src-d/go-git.v4/plumbing"
+ "github.com/go-git/go-git/v5/plumbing"
)
const (
diff --git a/plumbing/format/diff/unified_encoder_test.go b/plumbing/format/diff/unified_encoder_test.go
index 091a96a..1a9b2dd 100644
--- a/plumbing/format/diff/unified_encoder_test.go
+++ b/plumbing/format/diff/unified_encoder_test.go
@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
- "gopkg.in/src-d/go-git.v4/plumbing"
- "gopkg.in/src-d/go-git.v4/plumbing/filemode"
+ "github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/filemode"
. "gopkg.in/check.v1"
)