Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Display the correct git push flag when force-pushing (#30818)
Tymoteusz Makowski88fb623efa28
diff --git a/crates/project/src/git_store.rs b/crates/project/src/git_store.rsindex e9eadc217d6..8c8d2e232f2 100644--- a/crates/project/src/git_store.rs+++ b/crates/project/src/git_store.rs@@ -3549,7 +3549,7 @@ impl Repository {let args = options.map(|option| match option {PushOptions::SetUpstream => " --set-upstream",- PushOptions::Force => " --force",+ PushOptions::Force => " --force-with-lease",}).unwrap_or("");