pub fn commit_files(files: &[&str], message: &str) -> Result<(), CoreError>Expand description
Stage specific files and commit. Retries once on commit failure to handle pre-commit hooks that auto-fix files (e.g., end-of-file-fixer, trailing-whitespace) — these hooks modify files and return exit code 1, expecting a re-stage + re-commit.