From 37a287a3f0aa9323c0cabc9463e54eee2fc61d85 Mon Sep 17 00:00:00 2001 From: pash Date: Thu, 29 Jan 2026 18:37:42 -0800 Subject: [PATCH] clippy --- codex-rs/core/src/codex.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/codex-rs/core/src/codex.rs b/codex-rs/core/src/codex.rs index b400b56ca1..4953c4c2af 100644 --- a/codex-rs/core/src/codex.rs +++ b/codex-rs/core/src/codex.rs @@ -728,9 +728,7 @@ impl Session { workspaces: BTreeMap, } - if get_git_repo_root(cwd).is_none() { - return None; - } + get_git_repo_root(cwd)?; let git_info = collect_git_info(cwd).await?; let latest_git_commit_hash = git_info.commit_hash; let associated_remote_urls = get_git_remote_urls(cwd).await;