commit-graph: allow cross-alternate chains