Skip to main content

rollup_exit_code

Function rollup_exit_code 

Source
pub fn rollup_exit_code(outcomes: &[ExecOutcome]) -> i32
Expand description

Aggregate exit code for the whole fan-out: 0 only when every worktree succeeded, else 1. Mirrors the repo’s doctor/CI convention of a single non-zero “something failed” code rather than trying to reconcile multiple distinct child codes into one.