ZIm/crates/file_finder/src
Cole Miller 1763dd714b
Worktree paths in git panel, take 2 (#26047)
Modified version of #25950. We still use worktree paths, but repo paths
with a status that lie outside the worktree are not excluded; instead,
we relativize them by adding `..`. This makes the list in the git panel
match what you'd get from running `git status` (with the repo's worktree
root as the working directory).

- [x] Implement + test new unrelativization logic
- [x] ~~When collecting repositories, dedup by .git abs path, so
worktrees can share a repo at the project level~~ dedup repos at the
repository selector layer, with repos coming from larger worktrees being
preferred
- [x] Open single-file worktree with diff when activating a path not in
the worktree

Release Notes:

- N/A
2025-03-06 22:55:28 +00:00
..
file_finder.rs Worktree paths in git panel, take 2 (#26047) 2025-03-06 22:55:28 +00:00
file_finder_settings.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
file_finder_tests.rs Worktree paths in git panel, take 2 (#26047) 2025-03-06 22:55:28 +00:00
new_path_prompt.rs Add user-visible output for remote operations (#25849) 2025-03-03 09:20:15 +00:00
open_path_prompt.rs workspace: Add trailing / to directories on completion when using OpenPathPrompt (#25430) 2025-03-04 14:01:08 +08:00
open_path_prompt_tests.rs workspace: Add trailing / to directories on completion when using OpenPathPrompt (#25430) 2025-03-04 14:01:08 +08:00