pub fn commit_with_generated_message(
diff: &str,
commit_agent: &str,
git_user_name: Option<&str>,
git_user_email: Option<&str>,
ctx: &mut PhaseContext<'_>,
) -> CommitResultFallbackExpand description
Create a commit with an automatically generated message using the standard pipeline.
This is a replacement for commit_with_auto_message_fallback_result in git_helpers
that uses the standard agent pipeline with proper logging and fallback support.
§Arguments
diff- The git diff to generate a commit message fromcommit_agent- The primary agent to use for commit generationgit_user_name- Optional git user namegit_user_email- Optional git user emailctx- The phase context containing registry, logger, colors, config, and timer
§Returns
Returns CommitResultFallback indicating success, no changes, or failure.