ZIm/crates/worktree/src
张小白 04c04e8406
windows: Fix FS-related issues (#23369)
I've noticed an occasional error: `ignoring event C:\some\path\to\file
outside of root path \\?\C:\some\path`. This happens because UNC paths
always fail to match with non-UNC paths during operations like
`strip_prefix` or `starts_with`. To address this, I changed the types of
some key parameters to `SanitizedPath`. With this adjustment, FS events
are now correctly identified, and under the changes in this PR, the
`test_rescan_and_remote_updates` test also passes successfully on
Windows.

Release Notes:

- N/A
2025-01-21 14:19:23 +08:00
..
ignore.rs Fix Linux search issues (#13479) 2024-06-24 13:46:21 -07:00
worktree.rs windows: Fix FS-related issues (#23369) 2025-01-21 14:19:23 +08:00
worktree_settings.rs Add .jj to default file exclusion (#21708) 2024-12-08 18:44:46 -07:00
worktree_tests.rs git: Implement commit creation (#23263) 2025-01-17 18:51:20 +00:00