Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Re-send worktree if reconnecting while initial scan isn't finished yet
Antonio Scandurra5eb1719ab8e9
diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rsindex 792e09a00a2..0f31303635f 100644--- a/crates/project/src/worktree.rs+++ b/crates/project/src/worktree.rs@@ -221,7 +221,7 @@ impl Worktree {root_char_bag: root_name.chars().map(|c| c.to_ascii_lowercase()).collect(),entries_by_path: Default::default(),entries_by_id: Default::default(),- scan_id: 0,+ scan_id: 1,completed_scan_id: 0,},};@@ -298,7 +298,7 @@ impl Worktree {.collect(),entries_by_path: Default::default(),entries_by_id: Default::default(),- scan_id: 0,+ scan_id: 1,completed_scan_id: 0,};