zed/crates/util/src
Cole Miller 757c043171
Fix git features not working when a Windows host collaborates with a unix guest (#43515)
We were using `std::path::Path::strip_prefix` to determine which
repository an absolute path belongs to, which doesn't work when the
paths are Windows-style but the code is running on unix. Replace it with
a platform-agnostic implementation of `strip_prefix`.

Release Notes:

- Fixed git features not working when a Windows host collaborates with a
unix guest
2025-11-26 16:56:34 +00:00
..
test Update Editor::select_larger_syntax_node (#36971) 2025-09-09 12:13:20 -06:00
arc_cow.rs Rust 1.85 (#25272) 2025-02-28 18:33:35 +01:00
archive.rs Potentially make zip test less flakey (#43099) 2025-11-19 14:50:32 -07:00
command.rs Fix LSP spawning by resetting exception ports in child processes (#40716) 2025-11-05 22:05:34 +00:00
fs.rs Auto-fix clippy::collapsible_if violations (#36428) 2025-08-19 13:27:24 +00:00
markdown.rs lints: A bunch of extra style lint fixes (#36568) 2025-08-20 12:05:58 +02:00
paths.rs Fix git features not working when a Windows host collaborates with a unix guest (#43515) 2025-11-26 16:56:34 +00:00
redact.rs Redact license keys in environment variables from log output (#34711) 2025-07-18 14:28:20 +00:00
rel_path.rs zeta2: Predict at next diagnostic location (#43257) 2025-11-21 16:39:08 +00:00
schemars.rs settings: Use a derive macro for refine (#38451) 2025-09-18 21:13:49 +00:00
serde.rs Track cumulative token usage in assistant2 when using anthropic API (#26738) 2025-03-13 22:56:16 +00:00
shell.rs shell: Correctly identifiy powershell shells on windows (#43526) 2025-11-26 08:00:46 +00:00
shell_builder.rs remote: Fix terminal crash on Elvish shell (#41893) 2025-11-04 17:48:42 +05:30
shell_env.rs util: Fix invalid powershell redirection syntax used in uni shell env capture (#43390) 2025-11-24 11:11:45 +00:00
size.rs Fix a bunch of other low-hanging style lints (#36498) 2025-08-19 21:26:17 +02:00
test.rs Canonicalize paths when running tests (#23655) 2025-01-26 14:56:07 +08:00
time.rs agent: Create TerminalToolCard and display shell output while it's running (#29546) 2025-04-29 16:06:43 +00:00
util.rs Replace {floor/ceil}_char_boundary polyfills with std (#42599) 2025-11-13 08:11:18 +00:00