From 96703cce747f159d25596a04fc5a400c5e1607a3 Mon Sep 17 00:00:00 2001 From: Ink-dark Date: Sun, 21 Jun 2026 21:11:34 +0800 Subject: [PATCH 1/2] chore: bump version to 0.13.1 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0e1a178..27a8830 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agit" -version = "0.13.0" +version = "0.13.1" edition = "2021" description = "AI-native Git tool - pure Rust implementation" license = "Apache-2.0" From 2dbafcb1ab85d28a12714489dd3e9bce24262a09 Mon Sep 17 00:00:00 2001 From: Ink-dark Date: Sun, 21 Jun 2026 21:15:48 +0800 Subject: [PATCH 2/2] fix(core): Ok -> Some for unix_tz_offset return type --- src/core/repo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/repo.rs b/src/core/repo.rs index e4d1957..b05b439 100644 --- a/src/core/repo.rs +++ b/src/core/repo.rs @@ -60,7 +60,7 @@ fn local_tz_offset() -> String { // 取当前 UTC 秒数,计算它对应的小时数,再用简易方法估算偏移 #[cfg(unix)] { - if let Ok(offset) = unix_tz_offset() { + if let Some(offset) = unix_tz_offset() { return offset; } }