aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2023-11-16 16:34:27 +0000
committerGitHub <noreply@github.com>2023-11-16 16:34:27 +0000
commit226d25b5ee3194bf7c13457927c4d400e802daaf (patch)
treefefa6785e1acd7ed855afb8dc04881efd569a1a1
parent63b586b9559508baf7442c39db3327c91d37486c (diff)
parentc62aa3e780da6f85f6e1ddd7628ab30ec9d92b53 (diff)
downloadgo-git-226d25b5ee3194bf7c13457927c4d400e802daaf.tar.gz
Merge pull request #931 from aymanbagabas/trace-utils
utils: move trace to utils
-rw-r--r--plumbing/format/pktline/encoder.go2
-rw-r--r--plumbing/format/pktline/scanner.go2
-rw-r--r--utils/trace/trace.go (renamed from internal/trace/trace.go)0
-rw-r--r--utils/trace/trace_test.go (renamed from internal/trace/trace_test.go)0
4 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/format/pktline/encoder.go b/plumbing/format/pktline/encoder.go
index 1b9b84e..b6144fa 100644
--- a/plumbing/format/pktline/encoder.go
+++ b/plumbing/format/pktline/encoder.go
@@ -8,7 +8,7 @@ import (
"fmt"
"io"
- "github.com/go-git/go-git/v5/internal/trace"
+ "github.com/go-git/go-git/v5/utils/trace"
)
// An Encoder writes pkt-lines to an output stream.
diff --git a/plumbing/format/pktline/scanner.go b/plumbing/format/pktline/scanner.go
index 86068af..5e85ed0 100644
--- a/plumbing/format/pktline/scanner.go
+++ b/plumbing/format/pktline/scanner.go
@@ -4,7 +4,7 @@ import (
"errors"
"io"
- "github.com/go-git/go-git/v5/internal/trace"
+ "github.com/go-git/go-git/v5/utils/trace"
)
const (
diff --git a/internal/trace/trace.go b/utils/trace/trace.go
index 3e15c5b..3e15c5b 100644
--- a/internal/trace/trace.go
+++ b/utils/trace/trace.go
diff --git a/internal/trace/trace_test.go b/utils/trace/trace_test.go
index 6f8f140..6f8f140 100644
--- a/internal/trace/trace_test.go
+++ b/utils/trace/trace_test.go