ElyTree: no Git version in the status bar; plain real paths on Windows

The component pin moves to bd01470 (long change-list names end before the
row's buttons). Real paths come from dunce, so Windows shows C:\... rather
than \?\C:\..., and 36 more ElyTree tests pass there. The lock returns to
windows-sys 0.61, which the last pin change had resolved down.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-11 00:51:22 -04:00
1 parent d3cfff86db
commit bfa2f1908c
14 files changed
+450 -471

No files matched your search

+3 -3
View File
@@ -252,10 +252,10 @@ fn worktrees_list_branches_and_prunable_folders() {
.expect("adds");
let list = structure::worktrees(&git(), &root).expect("reads");
assert_eq!(list.len(), 2);
assert_eq!(list[0].path, std::fs::canonicalize(&root).expect("real"));
assert_eq!(list[0].path, dunce::canonicalize(&root).expect("real"));
assert_eq!(
(list[1].path.clone(), list[1].branch.as_deref()),
(std::fs::canonicalize(&other).expect("real"), Some("side"))
(dunce::canonicalize(&other).expect("real"), Some("side"))
);
std::fs::remove_dir_all(&other).expect("removes");
let list = structure::worktrees(&git(), &root).expect("reads");
@@ -497,5 +497,5 @@ fn a_worktree_registered_through_a_link_lists_its_real_path() {
)
.expect("writes");
let list = structure::worktrees(&git(), &root).expect("reads");
assert_eq!(list[1].path, std::fs::canonicalize(&other).expect("real"));
assert_eq!(list[1].path, dunce::canonicalize(&other).expect("real"));
}
+1 -1
View File
@@ -101,7 +101,7 @@ fn one_tab_per_repository_and_reopening_selects_it() {
let recent = cx.update(|_, app| tree.read(app).recent.clone());
assert_eq!(
recent[0],
std::fs::canonicalize(&first).expect("real"),
dunce::canonicalize(&first).expect("real"),
"newest first"
);
cx.update(|_, app| tree.update(app, |tree, cx| tree.close_active(cx)));