git: Implement a basic repository selector (#23419)
This PR adds a rough-and-ready picker for selecting which of the project's repositories the git panel should display. Release Notes: - N/A --------- Co-authored-by: Nate Butler <iamnbutler@gmail.com> Co-authored-by: Nate <nate@zed.dev>
This commit is contained in:
parent
417760ade7
commit
31909bf334
13 changed files with 661 additions and 356 deletions
|
@ -3128,12 +3128,15 @@ impl LspStore {
|
|||
})
|
||||
.detach()
|
||||
}
|
||||
WorktreeStoreEvent::WorktreeReleased(..) => {}
|
||||
WorktreeStoreEvent::WorktreeRemoved(_, id) => self.remove_worktree(*id, cx),
|
||||
WorktreeStoreEvent::WorktreeOrderChanged => {}
|
||||
WorktreeStoreEvent::WorktreeUpdateSent(worktree) => {
|
||||
worktree.update(cx, |worktree, _cx| self.send_diagnostic_summaries(worktree));
|
||||
}
|
||||
WorktreeStoreEvent::WorktreeReleased(..)
|
||||
| WorktreeStoreEvent::WorktreeOrderChanged
|
||||
| WorktreeStoreEvent::WorktreeUpdatedEntries(..)
|
||||
| WorktreeStoreEvent::WorktreeUpdatedGitRepositories(..)
|
||||
| WorktreeStoreEvent::WorktreeDeletedEntry(..) => {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue