Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Use output::progress for commit message steps

Maximilian Roos652f6d5525db
diff --git a/src/commands/merge.rs b/src/commands/merge.rs
index c58b4c721..c85f0fa78 100644
--- a/src/commands/merge.rs
+++ b/src/commands/merge.rs
@@ -212,7 +212,10 @@ fn handle_commit_changes(
) -> Result<(), GitError> {
let repo = Repository::current();
- println!("πŸ”„ {CYAN}Committing uncommitted changes...{CYAN:#}");
+ crate::output::progress(format!(
+ "πŸ”„ {CYAN}Committing uncommitted changes...{CYAN:#}"
+ ))
+ .map_err(|e| GitError::CommandFailed(e.to_string()))?;
// Stage all tracked changes (excludes untracked files)
repo.run_command(&["add", "-u"])