Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Tweak debug log message when ignoring fs events
Max Brunsfeld922d8f30d60b
diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rsindex 4eb7aed2e55..20e693770f4 100644--- a/crates/project/src/worktree.rs+++ b/crates/project/src/worktree.rs@@ -3172,8 +3172,8 @@ impl BackgroundScanner {.map_or(false, |entry| entry.kind == EntryKind::Dir)});if !parent_dir_is_loaded {+ log::debug!("ignoring event {relative_path:?} within unloaded directory");unloaded_relative_paths.push(relative_path);- log::debug!("ignoring event {abs_path:?} within unloaded directory");return false;}