Getting the diff ready.