pub fn apply( repo: &Repository, plan: &Plan, expected_head: Oid, ) -> Result<Outcome>
Apply plan to the checked-out branch, which must still point at expected_head.
plan
expected_head