pub fn assert_rebased( rebased: Option<RebasedDescendant>, expected_old_commit: &Commit, expected_new_parents: &[&Commit]) -> Commit