WIP - max & mikayla working on tests

This commit is contained in:
Mikayla Maki 2022-09-22 12:50:35 -07:00 committed by Julia
parent bb8798a844
commit 0d1b2a7e46
2 changed files with 120 additions and 17 deletions

View file

@ -4535,10 +4535,11 @@ impl Project {
if worktree.read(cx).is_local() {
cx.subscribe(worktree, |this, worktree, event, cx| match event {
worktree::Event::UpdatedEntries => this.update_local_worktree_buffers(worktree, cx),
worktree::Event::UpdatedGitRepositories(_) => todo!(),
})
.detach();
}
let push_strong_handle = {
let worktree = worktree.read(cx);
self.is_shared() || worktree.is_visible() || worktree.is_remote()