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:
Max Brunsfeld
2021-12-20 11:36:59 -08:00
co-authored by Antonio Scandurra Nathan Sobo
parent 697e641e8e
commit 614ee4eac7
10 changed files with 200 additions and 208 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ impl workspace::Item for ProjectDiagnostics {
})
.detach();
ProjectDiagnosticsEditor::new(project.read(cx).replica_id(cx), settings, cx)
ProjectDiagnosticsEditor::new(project.read(cx).replica_id(), settings, cx)
}
fn project_path(&self) -> Option<project::ProjectPath> {