Skip to content

Commit 2418da3

Browse files
committed
fix: trace showing at inappropriate level
This fix is temporary while I investigate upstream: GitoxideLabs#1615
1 parent 59b8014 commit 2418da3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gix-credentials/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ doctest = false
1717
serde = ["dep:serde", "bstr/serde", "gix-sec/serde"]
1818

1919
[dependencies]
20+
tracing = "^0.1"
2021
gix-sec = { version = "^0.10.8", path = "../gix-sec" }
2122
gix-url = { version = "^0.27.5", path = "../gix-url" }
2223
gix-path = { version = "^0.10.10", path = "../gix-path" }
2324
gix-command = { version = "^0.3.9", path = "../gix-command" }
2425
gix-config-value = { version = "^0.14.8", path = "../gix-config-value" }
2526
gix-prompt = { version = "^0.8.7", path = "../gix-prompt" }
26-
gix-trace = { version = "^0.1.8", path = "../gix-trace" }
27+
# gix-trace = { version = "^0.1.8", path = "../gix-trace" }
2728

2829
thiserror = "1.0.32"
2930
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }

gix-credentials/src/program/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl Program {
120120
) -> std::io::Result<(std::process::ChildStdin, Option<std::process::ChildStdout>)> {
121121
assert!(self.child.is_none(), "BUG: must not call `start()` twice");
122122
let mut cmd = self.to_command(action);
123-
gix_trace::debug!(cmd = ?cmd, "launching credential helper");
123+
tracing::debug!(cmd = ?cmd, "launching credential helper");
124124
let mut child = cmd.spawn()?;
125125
let stdin = child.stdin.take().expect("stdin to be configured");
126126
let stdout = child.stdout.take();

0 commit comments

Comments
 (0)