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:
co-authored by
Antonio Scandurra
Nathan Sobo
parent
697e641e8e
commit
614ee4eac7
@@ -96,7 +96,7 @@ message LeaveProject {
|
||||
|
||||
message RegisterWorktree {
|
||||
uint64 project_id = 1;
|
||||
Worktree worktree = 2;
|
||||
string root_name = 2;
|
||||
repeated string authorized_logins = 3;
|
||||
}
|
||||
|
||||
@@ -113,8 +113,9 @@ message ShareWorktree {
|
||||
message UpdateWorktree {
|
||||
uint64 project_id = 1;
|
||||
uint64 worktree_id = 2;
|
||||
repeated Entry updated_entries = 3;
|
||||
repeated uint64 removed_entries = 4;
|
||||
string root_name = 3;
|
||||
repeated Entry updated_entries = 4;
|
||||
repeated uint64 removed_entries = 5;
|
||||
}
|
||||
|
||||
message AddProjectCollaborator {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user