Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove user agent from Git (#28798)
Conrad Irwinaceecec6bf5e
diff --git a/crates/git/src/repository.rs b/crates/git/src/repository.rsindex 28f0d1c910d..7a218664877 100644--- a/crates/git/src/repository.rs+++ b/crates/git/src/repository.rs@@ -1013,7 +1013,6 @@ impl GitRepository for RealGitRepository {let mut command = new_smol_command("git");command.envs(env.iter())- .env("GIT_HTTP_USER_AGENT", "Zed").current_dir(&working_directory).args(["push"]).args(options.map(|option| match option {@@ -1045,7 +1044,6 @@ impl GitRepository for RealGitRepository {let mut command = new_smol_command("git");command.envs(env.iter())- .env("GIT_HTTP_USER_AGENT", "Zed").current_dir(&working_directory?).args(["pull"]).arg(remote_name)@@ -1070,7 +1068,6 @@ impl GitRepository for RealGitRepository {let mut command = new_smol_command("git");command.envs(env.iter())- .env("GIT_HTTP_USER_AGENT", "Zed").current_dir(&working_directory?).args(["fetch", "--all"]).stdout(smol::process::Stdio::piped())