diff options
author | Ayman Bagabas <ayman.bagabas@gmail.com> | 2023-11-16 11:15:10 -0500 |
---|---|---|
committer | Ayman Bagabas <ayman.bagabas@gmail.com> | 2023-11-16 11:15:10 -0500 |
commit | c62aa3e780da6f85f6e1ddd7628ab30ec9d92b53 (patch) | |
tree | fefa6785e1acd7ed855afb8dc04881efd569a1a1 /plumbing | |
parent | 63b586b9559508baf7442c39db3327c91d37486c (diff) | |
download | go-git-c62aa3e780da6f85f6e1ddd7628ab30ec9d92b53.tar.gz |
utils: move trace to utils
Without exposing `trace`, we can't set a target to enable tracing from
out of go-git.
Fixes: https://github.com/go-git/go-git/pull/916
Diffstat (limited to 'plumbing')
-rw-r--r-- | plumbing/format/pktline/encoder.go | 2 | ||||
-rw-r--r-- | plumbing/format/pktline/scanner.go | 2 |
2 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 ( |