Files
oak-gpui/crates
Cole MillerandLukas Wirth aced13bc9f Fix ordering of multibuffer excerpts (#39476)
The ordering of path-based excerpts in multibuffers regressed with
#38744, because we changed the `path` field of `PathKey` to be a string
(from `std::path::Path`) and used the derived `Ord` implementation,
which doesn't agree with the path-based order of worktree traversals.
This PR fixes that by using `RelPath` for `PathKey`. Instead of using
`File::full_path`, which can be absolute, we always use `File::path` and
distinguish different worktrees using their ID.

Release Notes:

- N/A

---------

Co-authored-by: Lukas Wirth <me@lukaswirth.dev>
2025-10-03 22:17:31 +00:00
..
2025-08-13 13:25:52 -06:00
2025-09-08 21:53:17 -06:00
2025-09-25 14:42:32 -07:00
2025-09-03 22:10:14 +00:00
2025-09-26 11:41:26 -04:00
2025-10-02 03:52:06 +00:00
2025-09-25 14:42:32 -07:00
2025-09-18 16:47:23 +00:00
2025-09-26 11:41:26 -04:00
2025-07-17 14:25:55 +00:00
2025-09-24 02:19:52 -06:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-25 14:42:32 -07:00
2025-09-08 21:53:17 -06:00
2025-09-22 14:36:10 -07:00
2025-09-18 16:47:23 +00:00
2025-09-29 21:16:00 +00:00
2025-09-26 11:41:26 -04:00