pub fn behind_base_count(branch: &str, base: &str) -> usizeExpand description
How many commits base has that branch does not (branch..base).
For a feature branch and origin/main, this is how far the trunk moved
since the branch last caught up; 0 means the branch sits on the latest base.
Returns 0 when either ref is unresolvable.