aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/diff
diff options
context:
space:
mode:
authorTom Payne <twpayne@gmail.com>2020-04-29 03:59:41 +0100
committerTom Payne <twpayne@gmail.com>2020-04-29 04:08:08 +0100
commitc7b6d19fba4a389926bdf6fcf74fb628d439c82c (patch)
tree0371bc01a64f81648b20927236ec9429181164c3 /plumbing/format/diff
parent9f7a8726be44235a65a1f2cee18b4fa4f56341fe (diff)
downloadgo-git-c7b6d19fba4a389926bdf6fcf74fb628d439c82c.tar.gz
plumbing: color, make package external
Diffstat (limited to 'plumbing/format/diff')
-rw-r--r--plumbing/format/diff/colorconfig.go2
-rw-r--r--plumbing/format/diff/unified_encoder_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/format/diff/colorconfig.go b/plumbing/format/diff/colorconfig.go
index b7c32e6..1e72e7f 100644
--- a/plumbing/format/diff/colorconfig.go
+++ b/plumbing/format/diff/colorconfig.go
@@ -1,6 +1,6 @@
package diff
-import "github.com/go-git/go-git/v5/internal/color"
+import "github.com/go-git/go-git/v5/plumbing/color"
// A ColorKey is a key into a ColorConfig map and also equal to the key in the
// diff.color subsection of the config. See
diff --git a/plumbing/format/diff/unified_encoder_test.go b/plumbing/format/diff/unified_encoder_test.go
index 6eaec72..83bc3c2 100644
--- a/plumbing/format/diff/unified_encoder_test.go
+++ b/plumbing/format/diff/unified_encoder_test.go
@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
- "github.com/go-git/go-git/v5/internal/color"
"github.com/go-git/go-git/v5/plumbing"
+ "github.com/go-git/go-git/v5/plumbing/color"
"github.com/go-git/go-git/v5/plumbing/filemode"
. "gopkg.in/check.v1"