From 2bdfd91f04068220a72feeade31defc09f2a601e Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 10 Mar 2020 00:40:56 +0100 Subject: *: migration from gopkg to go modules --- plumbing/format/diff/patch.go | 4 ++-- plumbing/format/diff/unified_encoder.go | 2 +- plumbing/format/diff/unified_encoder_test.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plumbing/format/diff') 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" ) -- cgit