Handle buffer diff base updates and file renames properly for SSH projects (#14989)
Release Notes: - N/A --------- Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
parent
ec093c390f
commit
38e3182bef
39 changed files with 1021 additions and 811 deletions
|
@ -2400,7 +2400,7 @@ pub mod tests {
|
|||
.await;
|
||||
let project = Project::test(fs.clone(), ["/dir".as_ref()], cx).await;
|
||||
let worktree_id = project.read_with(cx, |project, cx| {
|
||||
project.worktrees().next().unwrap().read(cx).id()
|
||||
project.worktrees(cx).next().unwrap().read(cx).id()
|
||||
});
|
||||
let window = cx.add_window(|cx| Workspace::test_new(project, cx));
|
||||
let workspace = window.root(cx).unwrap();
|
||||
|
@ -2836,7 +2836,7 @@ pub mod tests {
|
|||
.await;
|
||||
let project = Project::test(fs.clone(), ["/dir".as_ref()], cx).await;
|
||||
let worktree_id = project.update(cx, |this, cx| {
|
||||
this.worktrees().next().unwrap().read(cx).id()
|
||||
this.worktrees(cx).next().unwrap().read(cx).id()
|
||||
});
|
||||
|
||||
let window = cx.add_window(|cx| Workspace::test_new(project, cx));
|
||||
|
@ -3053,7 +3053,7 @@ pub mod tests {
|
|||
.await;
|
||||
let project = Project::test(fs.clone(), ["/dir".as_ref()], cx).await;
|
||||
let worktree_id = project.update(cx, |this, cx| {
|
||||
this.worktrees().next().unwrap().read(cx).id()
|
||||
this.worktrees(cx).next().unwrap().read(cx).id()
|
||||
});
|
||||
let window = cx.add_window(|cx| Workspace::test_new(project, cx));
|
||||
let panes: Vec<_> = window
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue