Make sure we generate the whole commit list before trying to sort it topologically