Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Conrad Irwin73f77a7fbbe4
diff --git a/crates/git/src/repository.rs b/crates/git/src/repository.rs
index d076725ca46..5e508b023b5 100644
--- a/crates/git/src/repository.rs
+++ b/crates/git/src/repository.rs
@@ -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())