Skip to content

Commit

Permalink
fix: trace showing at inappropriate level
Browse files Browse the repository at this point in the history
This fix is temporary while I investigate upstream:
GitoxideLabs#1615
  • Loading branch information
nrdxp committed Oct 10, 2024
1 parent 59b8014 commit 2418da3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion gix-credentials/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ doctest = false
serde = ["dep:serde", "bstr/serde", "gix-sec/serde"]

[dependencies]
tracing = "^0.1"
gix-sec = { version = "^0.10.8", path = "../gix-sec" }
gix-url = { version = "^0.27.5", path = "../gix-url" }
gix-path = { version = "^0.10.10", path = "../gix-path" }
gix-command = { version = "^0.3.9", path = "../gix-command" }
gix-config-value = { version = "^0.14.8", path = "../gix-config-value" }
gix-prompt = { version = "^0.8.7", path = "../gix-prompt" }
gix-trace = { version = "^0.1.8", path = "../gix-trace" }
# gix-trace = { version = "^0.1.8", path = "../gix-trace" }

thiserror = "1.0.32"
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion gix-credentials/src/program/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl Program {
) -> std::io::Result<(std::process::ChildStdin, Option<std::process::ChildStdout>)> {
assert!(self.child.is_none(), "BUG: must not call `start()` twice");
let mut cmd = self.to_command(action);
gix_trace::debug!(cmd = ?cmd, "launching credential helper");
tracing::debug!(cmd = ?cmd, "launching credential helper");
let mut child = cmd.spawn()?;
let stdin = child.stdin.take().expect("stdin to be configured");
let stdout = child.stdout.take();
Expand Down

0 comments on commit 2418da3

Please sign in to comment.