pub fn behind_count(status: &str) -> Option<u64>Expand description
behind[[:space:]]+N over git status -sb, present or not — UNLIKE
divergence, which only answers when ahead is ALSO on the line.
git status -sb prints a bare [behind M] (no ahead at all) when the
branch has nothing of its own to push yet is missing upstream commits —
exactly “a sync would do something”, independent of whether the branch is
also ahead. divergence cannot answer that question; it was built to
answer a narrower one (are the two DIVERGED, which needs both counts).