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
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue