zed/crates/worktree/src
feeiyu 48f712b49b
Fix git panel not updating after commit (#47222)
Fixed git panel not update after commit or switch branch on Linux.

On macOS and Windows, the watcher implementation recursively watches
subdirectories.
On Linux, the watcher is non-recursive.

In Git worktree scenarios, only `<project>/.git` is watched, but the
actual worktree Git directory
`<project>/.git/worktrees/<worktree>`  is not.
Therefore, Git operations such as commits or branch switches inside a
worktree do not emit watcher events on Linux, causing the Git panel to
stay out of sync.

Release Notes:
- Fixed git panel not update after commit or switch branch on Linux with
git worktrees.
2026-01-31 19:15:59 +00:00
..
ignore.rs git: Add support for repository excludes file (#42082) 2025-12-16 13:09:09 -05:00
worktree.rs Fix git panel not updating after commit (#47222) 2026-01-31 19:15:59 +00:00
worktree_settings.rs worktree: Use public-api-only tests (#47152) 2026-01-22 10:22:04 +01:00