Merge pull request #525 from zed-industries/preserve-worktrees

Grow worktrees monotonically when sharing and move most messages to the background
This commit is contained in:
Antonio Scandurra
2022-03-04 09:48:18 +01:00
committed by GitHub
21 changed files with 662 additions and 380 deletions
+6 -6
View File
@@ -257,7 +257,7 @@ mod tests {
params
.project
.update(cx, |project, cx| {
project.find_or_create_local_worktree("/root", false, cx)
project.find_or_create_local_worktree("/root", true, cx)
})
.await
.unwrap();
@@ -370,7 +370,7 @@ mod tests {
params
.project
.update(cx, |project, cx| {
project.find_or_create_local_worktree("/dir1", false, cx)
project.find_or_create_local_worktree("/dir1", true, cx)
})
.await
.unwrap();
@@ -445,7 +445,7 @@ mod tests {
params
.project
.update(cx, |project, cx| {
project.find_or_create_local_worktree("/root", false, cx)
project.find_or_create_local_worktree("/root", true, cx)
})
.await
.unwrap();
@@ -492,7 +492,7 @@ mod tests {
params
.project
.update(cx, |project, cx| {
project.find_or_create_local_worktree("/root", false, cx)
project.find_or_create_local_worktree("/root", true, cx)
})
.await
.unwrap();
@@ -644,7 +644,7 @@ mod tests {
params
.project
.update(cx, |project, cx| {
project.find_or_create_local_worktree("/root", false, cx)
project.find_or_create_local_worktree("/root", true, cx)
})
.await
.unwrap();
@@ -707,7 +707,7 @@ mod tests {
params
.project
.update(cx, |project, cx| {
project.find_or_create_local_worktree("/root", false, cx)
project.find_or_create_local_worktree("/root", true, cx)
})
.await
.unwrap();