chore: upgrade gpui-component to 0.7 and gix to 0.88
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-10-07 05:19:15 +07:00
parent 8900d1f3ee
commit a706fadafa
16 changed files with 473 additions and 483 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ impl GitCache {
let path = self.repo_path(addr);
match gix::open(&path) {
Ok(repo) => Ok(Some(Repo { inner: repo })),
Err(gix::open::Error::NotARepository { .. }) => Ok(None),
Err(gix::open::Error::Io(e)) if e.kind() == std::io::ErrorKind::NotFound => Ok(None),
// A missing path and a directory that is no repository are both classified `NotFound`.
Err(e) if e.is_not_found() => Ok(None),
Err(e) => Err(e.into()),
}
}