Skip to content

Commit ff815f1

Browse files
committed
Revert "trace2:data: add subverb to reset command"
This reverts commit b006aff.
1 parent f2bd703 commit ff815f1

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

builtin/reset.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ int cmd_reset(int argc, const char **argv, const char *prefix)
419419
if (patch_mode) {
420420
if (reset_type != NONE)
421421
die(_("--patch is incompatible with --{hard,mixed,soft}"));
422-
trace2_cmd_subverb("patch-interactive");
423422
return run_add_interactive(rev, "--patch=reset", &pathspec);
424423
}
425424

@@ -436,13 +435,6 @@ int cmd_reset(int argc, const char **argv, const char *prefix)
436435
if (reset_type == NONE)
437436
reset_type = MIXED; /* by default */
438437

439-
if (read_from_stdin)
440-
trace2_cmd_subverb("path-stdin");
441-
else if (pathspec.nr)
442-
trace2_cmd_subverb("path");
443-
else
444-
trace2_cmd_subverb(reset_type_names[reset_type]);
445-
446438
if (reset_type != SOFT && (reset_type != MIXED || get_git_work_tree()))
447439
setup_work_tree();
448440

0 commit comments

Comments
 (0)