ZIm/crates/project/src
Cole Miller f3f2c6d811
Fix commondir discovery for git submodules (#28802)
The implementation of commondir discovery in #27885 was wrong, most
significantly for submodules but also for worktrees in rarer cases. The
correct procedure, implemented in this PR, is:

> If `.git` is a file, look at the `gitdir` it points to. If that
directory has a file called `commondir`, read that file to find the
commondir. (This is what happens for worktrees.) Otherwise, the
commondir is the same as the gitdir. (This is what happens for
submodules.)

Release Notes:

- N/A
2025-04-15 23:32:59 -04:00
..
debugger debugger: Fix Rust debugger runnable (#28801) 2025-04-15 17:10:06 -04:00
git_store Finish removing git repository state and scanning logic from worktrees (#27568) 2025-04-01 17:41:20 -04:00
lsp_command Remove language::markdown (#25136) 2025-02-19 08:55:36 -07:00
lsp_store Support tasks from rust-analyzer (#28359) 2025-04-08 15:07:56 -06:00
manifest_tree chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
buffer_store.rs project/perf: Optimize BufferStore::get_by_path with an additional index (#28670) 2025-04-14 17:06:41 +02:00
color_extractor.rs Simplify static expression to a constant (#23193) 2025-01-15 19:31:21 +00:00
connection_manager.rs Finish removing git repository state and scanning logic from worktrees (#27568) 2025-04-01 17:41:20 -04:00
debounced_delay.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
debugger.rs Tidy up DAP initialization (#28730) 2025-04-15 17:11:29 +02:00
direnv.rs Environment loading fixes (#19144) 2024-10-16 12:14:40 +02:00
environment.rs Downgrade environment-related logging (#28509) 2025-04-10 14:38:29 +00:00
git_store.rs Remove debug assertions in git_store.rs (#28706) 2025-04-14 18:25:18 +00:00
image_store.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
lsp_command.rs Add dedicated actions for LSP completions insertion mode (#28121) 2025-04-08 22:03:03 +00:00
lsp_store.rs Clean up formatting code and add testing for formatting with multiple formatters (including code actions!) (#28457) 2025-04-10 15:32:43 +00:00
manifest_tree.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
prettier_store.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
project.rs debugger: Fix Rust debugger runnable (#28801) 2025-04-15 17:10:06 -04:00
project_settings.rs Support tasks from rust-analyzer (#28359) 2025-04-08 15:07:56 -06:00
project_tests.rs Fix commondir discovery for git submodules (#28802) 2025-04-15 23:32:59 -04:00
search.rs Case Insensitive Unicode Text Search: Fallback To Regex (#28752) 2025-04-15 13:12:37 +02:00
search_history.rs project search: Persist search history across session (#9932) 2024-04-02 11:13:18 +02:00
task_inventory.rs Support tasks from rust-analyzer (#28359) 2025-04-08 15:07:56 -06:00
task_store.rs Clean up environment loading a bit (#28356) 2025-04-08 22:16:35 -04:00
terminals.rs debugger: Add support for CodeLLDB (#28376) 2025-04-09 12:57:24 +02:00
toolchain_store.rs Clean up environment loading a bit (#28356) 2025-04-08 22:16:35 -04:00
worktree_store.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
yarn.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00