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

Conrad Irwin created

Follow up to #27681

Release Notes:

- N/A

Change summary

crates/git/src/repository.rs | 1 -
1 file changed, 1 deletion(-)

Detailed changes

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())