Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
git: Show all branches in branch picker empty state (#44742)
Anthony Eidfad06dd00cd6
diff --git a/crates/git_ui/src/branch_picker.rs b/crates/git_ui/src/branch_picker.rsindex 90b5c4bb284..8a08736d8ba 100644--- a/crates/git_ui/src/branch_picker.rs+++ b/crates/git_ui/src/branch_picker.rs@@ -636,7 +636,6 @@ impl PickerDelegate for BranchListDelegate {return Task::ready(());};- const RECENT_BRANCHES_COUNT: usize = 10;let display_remotes = self.display_remotes;cx.spawn_in(window, async move |picker, cx| {let mut matches: Vec<Entry> = if query.is_empty() {@@ -649,7 +648,6 @@ impl PickerDelegate for BranchListDelegate {!branch.is_remote()}})- .take(RECENT_BRANCHES_COUNT).map(|branch| Entry::Branch {branch,positions: Vec::new(),