reset_type 42 builtin/reset.c static int reset_index(const unsigned char *sha1, int reset_type, int quiet) reset_type 57 builtin/reset.c switch (reset_type) { reset_type 71 builtin/reset.c if (reset_type == KEEP) { reset_type 86 builtin/reset.c if (reset_type == MIXED || reset_type == HARD) { reset_type 180 builtin/reset.c static void die_if_unmerged_cache(int reset_type) reset_type 184 builtin/reset.c _(reset_type_names[reset_type])); reset_type 269 builtin/reset.c int reset_type = NONE, update_ref_status = 0, quiet = 0; reset_type 277 builtin/reset.c OPT_SET_INT(0, "mixed", &reset_type, reset_type 279 builtin/reset.c OPT_SET_INT(0, "soft", &reset_type, N_("reset only HEAD"), SOFT), reset_type 280 builtin/reset.c OPT_SET_INT(0, "hard", &reset_type, reset_type 282 builtin/reset.c OPT_SET_INT(0, "merge", &reset_type, reset_type 284 builtin/reset.c OPT_SET_INT(0, "keep", &reset_type, reset_type 321 builtin/reset.c if (reset_type != NONE) reset_type 330 builtin/reset.c if (reset_type == MIXED) reset_type 332 builtin/reset.c else if (reset_type != NONE) reset_type 334 builtin/reset.c _(reset_type_names[reset_type])); reset_type 336 builtin/reset.c if (reset_type == NONE) reset_type 337 builtin/reset.c reset_type = MIXED; /* by default */ reset_type 339 builtin/reset.c if (reset_type != SOFT && (reset_type != MIXED || get_git_work_tree())) reset_type 342 builtin/reset.c if (reset_type == MIXED && is_bare_repository()) reset_type 344 builtin/reset.c _(reset_type_names[reset_type])); reset_type 346 builtin/reset.c if (intent_to_add && reset_type != MIXED) reset_type 352 builtin/reset.c if (reset_type == SOFT || reset_type == KEEP) reset_type 353 builtin/reset.c die_if_unmerged_cache(reset_type); reset_type 355 builtin/reset.c if (reset_type != SOFT) { reset_type 358 builtin/reset.c if (reset_type == MIXED) { reset_type 366 builtin/reset.c int err = reset_index(sha1, reset_type, quiet); reset_type 367 builtin/reset.c if (reset_type == KEEP && !err) reset_type 382 builtin/reset.c if (reset_type == HARD && !update_ref_status && !quiet)