git_checkout_opts *opts = data->checkout_opts;
GIT_UNUSED(progress);
- data->stats->processed++;
if ((delta->status == GIT_DELTA_UNTRACKED &&
(opts->checkout_strategy & GIT_CHECKOUT_REMOVE_UNTRACKED) != 0) ||
bool do_checkout = false, do_notify = false;
GIT_UNUSED(progress);
- data->stats->processed++;
if (delta->status == GIT_DELTA_MODIFIED ||
delta->status == GIT_DELTA_TYPECHANGE)
cl_git_pass(git_revparse_single(&obj, g_repo, g_typechange_oids[i]));
/* fprintf(stderr, "checking out '%s'\n", g_typechange_oids[i]); */
- cl_git_pass(git_checkout_tree(g_repo, obj, &opts, NULL));
+ cl_git_pass(git_checkout_tree(g_repo, obj, &opts));
git_object_free(obj);