Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
git: Fix placeholder dots in untracked files (#26537)
Cole Millerd94001f445bd
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rsindex 8fe306c9321..48c1eb19e7c 100644--- a/crates/git_ui/src/git_panel.rs+++ b/crates/git_ui/src/git_panel.rs@@ -3634,7 +3634,11 @@ impl GitPanel {Checkbox::new(checkbox_id, is_staged).disabled(!has_write_access).fill()- .placeholder(!self.has_staged_changes() && !self.has_conflicts())+ .placeholder(+ !self.has_staged_changes()+ && !self.has_conflicts()+ && !entry.status.is_created(),+ ).elevation(ElevationIndex::Surface).on_click({let entry = entry.clone();