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
+4 -3
View File
@@ -3,6 +3,7 @@ use std::path::{Path, PathBuf};
use anyhow::Result;
use crate::GixResultExt as _;
use crate::repo::Repo;
#[derive(Debug, Clone)]
@@ -29,8 +30,8 @@ impl FileCommit {
commit: &gix::Commit<'_>,
include_description: bool,
) -> Result<FileCommit> {
let author = commit.author()?;
let message = commit.message()?;
let author = commit.author().into_anyhow()?;
let message = commit.message().into_anyhow()?;
Ok(FileCommit {
id: commit.id().shorten_or_id().to_string(),
@@ -44,7 +45,7 @@ impl FileCommit {
None
},
author: String::from_utf8_lossy(author.name).trim().to_string(),
time: author.time()?.seconds,
time: author.time().into_anyhow()?.seconds,
})
}
}