pub fn move_branches<'a>(
effects: &Effects,
git_run_info: &GitRunInfo,
repo: &'a Repo,
event_tx_id: EventTransactionId,
rewritten_oids_map: &'a HashMap<NonZeroOid, MaybeZeroOid>,
) -> Result<()>
Expand description
Given a list of rewritten OIDs, move the branches attached to those OIDs
from their old commits to their new commits. Invoke the
reference-transaction
hook when done.