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

+2 -2
View File
@@ -70,7 +70,7 @@ fn a_repository_opens_from_inside_and_a_bare_one_does_not() {
let opened = repo::open(&git(), &root.join("deep")).expect("opens");
assert_eq!(
opened.root,
std::fs::canonicalize(&root).expect("real"),
dunce::canonicalize(&root).expect("real"),
"the real top"
);
assert!(opened.git_dir.ends_with(".git"));
@@ -324,7 +324,7 @@ fn a_gone_upstream_has_no_counts() {
#[test]
fn a_linked_file_keeps_its_own_name() {
let dir = tempfile::tempdir().expect("a temp dir");
let root = std::fs::canonicalize(dir.path()).expect("real");
let root = dunce::canonicalize(dir.path()).expect("real");
std::fs::create_dir(root.join("docs")).expect("a folder");
std::fs::write(root.join("real.md"), "a").expect("a file");
let outside = tempfile::tempdir().expect("another dir");