Skip to content

Commit f2bd703

Browse files
committed
Revert "trace2:data: add subverb for rebase"
This reverts commit 68d0a78.
1 parent 1829cd7 commit f2bd703

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

builtin/rebase.c

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,16 +1009,6 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
10091009
ACTION_EDIT_TODO,
10101010
ACTION_SHOW_CURRENT_PATCH,
10111011
} action = NO_ACTION;
1012-
static const char *action_names[] = {
1013-
N_("undefined"),
1014-
N_("continue"),
1015-
N_("skip"),
1016-
N_("abort"),
1017-
N_("quit"),
1018-
N_("edit_todo"),
1019-
N_("show_current_patch"),
1020-
NULL
1021-
};
10221012
const char *gpg_sign = NULL;
10231013
struct string_list exec = STRING_LIST_INIT_NODUP;
10241014
const char *rebase_merges = NULL;
@@ -1205,15 +1195,6 @@ int cmd_rebase(int argc, const char **argv, const char *prefix)
12051195
die(_("The --edit-todo action can only be used during "
12061196
"interactive rebase."));
12071197

1208-
if (trace2_is_enabled()) {
1209-
if (is_interactive(&options))
1210-
trace2_cmd_subverb("interactive");
1211-
else if (exec.nr)
1212-
trace2_cmd_subverb("interactive-exec");
1213-
else
1214-
trace2_cmd_subverb(action_names[action]);
1215-
}
1216-
12171198
switch (action) {
12181199
case ACTION_CONTINUE: {
12191200
struct object_id head;

0 commit comments

Comments
 (0)