diff --git a/crates/git_ui/src/branch_picker.rs b/crates/git_ui/src/branch_picker.rs index e3ff9d4b15..86ab692e03 100644 --- a/crates/git_ui/src/branch_picker.rs +++ b/crates/git_ui/src/branch_picker.rs @@ -1050,11 +1050,7 @@ impl PickerDelegate for BranchListDelegate { fn placeholder_text(&self, _window: &mut Window, _cx: &mut App) -> Arc { match self.state { PickerState::List | PickerState::NewRemote | PickerState::NewBranch => { - if self.is_select_only() { - "Select branch…" - } else { - "Switch branch…" - } + "Switch or type to create a branch…" } PickerState::CreateRemote(_) => "Enter a name for this remote…", } diff --git a/crates/git_ui/src/worktree_picker.rs b/crates/git_ui/src/worktree_picker.rs index 5d09dfbbd2..312697bf1b 100644 --- a/crates/git_ui/src/worktree_picker.rs +++ b/crates/git_ui/src/worktree_picker.rs @@ -764,7 +764,7 @@ impl PickerDelegate for WorktreePickerDelegate { type ListItem = AnyElement; fn placeholder_text(&self, _window: &mut Window, _cx: &mut App) -> Arc { - "Select a worktree…".into() + "Select or type to create a worktree…".into() } fn editor_position(&self) -> PickerEditorPosition {