worktree: Prevent background scanner from trying to scan file worktrees (#39277)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-10-03 13:12:24 +00:00
committed by GitHub
parent 1b94d74dc3
commit 86322a186f
3 changed files with 47 additions and 32 deletions
+1 -1
View File
@@ -1380,7 +1380,7 @@ async fn test_reporting_fs_changes_to_language_servers(cx: &mut gpui::TestAppCon
cx.executor().run_until_parked();
assert_eq!(mem::take(&mut *file_changes.lock()), &[]);
assert_eq!(fs.read_dir_call_count() - prev_read_dir_count, 5);
assert_eq!(fs.read_dir_call_count() - prev_read_dir_count, 4);
let mut new_watched_paths = fs.watched_paths();
new_watched_paths.retain(|path| {