damon_revert_target_commits
damon_revert_target_commits(dst, failed, src);
damon_revert_target_commits(dst, NULL, src);