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
+2 -1
View File
@@ -152,6 +152,7 @@ messages!(
ShareWorktree,
UnregisterProject,
UnregisterWorktree,
UnshareProject,
UpdateBuffer,
UpdateContacts,
UpdateWorktree,
@@ -183,7 +184,7 @@ entity_messages!(
OpenBuffer,
CloseBuffer,
SaveBuffer,
RegisterWorktree,
ShareWorktree,
UnregisterWorktree,
UpdateBuffer,
UpdateWorktree,