From 890ff160d77bbbd84e8a1d48511052a455606d78 Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Tue, 22 Jul 2025 08:47:32 -0700 Subject: [PATCH] wip --- crates/worktree/src/worktree_tests.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/crates/worktree/src/worktree_tests.rs b/crates/worktree/src/worktree_tests.rs index 48eb6cc08d..1454ad52f8 100644 --- a/crates/worktree/src/worktree_tests.rs +++ b/crates/worktree/src/worktree_tests.rs @@ -2116,6 +2116,10 @@ async fn test_global_gitignore(executor: BackgroundExecutor, cx: &mut TestAppCon "foo": "", "bar": "", "sub": { + "bar": "", + }, + "subrepo": { + ".git": {}, "bar": "" }, "baz": "" @@ -2140,7 +2144,13 @@ async fn test_global_gitignore(executor: BackgroundExecutor, cx: &mut TestAppCon cx.run_until_parked(); worktree.update(cx, |worktree, _cx| { - check_worktree_entries(worktree, &[], &["foo", "bar"], &["sub/bar", "baz"], &[]); + check_worktree_entries( + worktree, + &[], + &["foo", "bar", "subrepo/bar"], + &["sub/bar", "baz"], + &[], + ); }) }