Actually run git commands if no GIT_ASKPASS is set (#27729)

Follow up to #27681

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-03-29 15:19:19 +00:00
committed by GitHub
parent 4970fe2d56
commit 73f77a7fbb
-1
View File
@@ -1366,7 +1366,6 @@ async fn run_git_command(
}
} else {
let ask_pass = AskPassSession::new(executor, ask_pass).await?;
let mut command = new_smol_command("git");
command
.env("GIT_ASKPASS", ask_pass.script_path())
.env("SSH_ASKPASS", ask_pass.script_path())