pub fn merge_stacks_by_tree_id(graph: &mut Graph, repo: &dyn Repo)
When a rebase has split stack, re-combine them