From 3c702cf43fe574a43c798bdfe1585feb47d59e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?m=C3=BCde?= Date: Thu, 14 May 2026 23:10:37 +0200 Subject: [PATCH] fmt --- hive-c0re/src/lifecycle.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hive-c0re/src/lifecycle.rs b/hive-c0re/src/lifecycle.rs index 2bedff0..3acee14 100644 --- a/hive-c0re/src/lifecycle.rs +++ b/hive-c0re/src/lifecycle.rs @@ -163,10 +163,7 @@ pub async fn apply_commit(config_dir: &Path, commit_ref: &str) -> Result<()> { .await .with_context(|| format!("git cat-file in {}", config_dir.display()))?; if !st.success() { - bail!( - "commit {commit_ref} not found in {}", - config_dir.display() - ); + bail!("commit {commit_ref} not found in {}", config_dir.display()); } git(config_dir, &["update-ref", "refs/heads/main", commit_ref]).await?; git(config_dir, &["reset", "--hard", commit_ref]).await?;