pub fn check_out_commit(
effects: &Effects,
git_run_info: &GitRunInfo,
repo: &Repo,
event_log_db: &EventLogDb<'_>,
event_tx_id: EventTransactionId,
target: Option<CheckoutTarget>,
options: &CheckOutCommitOptions,
) -> EyreExitOr<()>
Expand description
Checks out the requested commit. If the operation succeeds, then displays the new smartlog. Otherwise displays a warning message.