zed/crates/worktree
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
..
src Fix git panel not updating after commit (#47222) 2026-01-31 19:15:59 +00:00
tests/integration project: Always allocate WorktreeIDs on the remote client (#47936) 2026-01-29 15:31:13 +00:00
Cargo.toml worktree: Use public-api-only tests (#47152) 2026-01-22 10:22:04 +01:00
LICENSE-GPL Rename 'project_core' crate to 'worktree', make it just about worktrees (#9189) 2024-03-11 11:35:27 -07:00