merge: convert checkout_fast_forward to struct object_id