diff: convert diff_change to struct object_id