Send worktree info only when sharing worktree
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
697e641e8e
commit
614ee4eac7
10 changed files with 200 additions and 208 deletions
|
@ -617,12 +617,13 @@ mod tests {
|
|||
)
|
||||
.await;
|
||||
|
||||
let project = cx.add_model(|_| {
|
||||
Project::new(
|
||||
let project = cx.add_model(|cx| {
|
||||
Project::local(
|
||||
params.languages.clone(),
|
||||
params.client.clone(),
|
||||
params.user_store.clone(),
|
||||
params.fs.clone(),
|
||||
cx,
|
||||
)
|
||||
});
|
||||
let root1 = project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue