Skip to content

Commit 3fb5d50

Browse files
committed
Revert "trace2:data: add subverb to checkout command"
This reverts commit 0bfdd41.
1 parent ff815f1 commit 3fb5d50

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

builtin/checkout.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,6 @@ static int checkout_paths(const struct checkout_opts *opts,
258258
int errs = 0;
259259
struct lock_file lock_file = LOCK_INIT;
260260

261-
trace2_cmd_subverb(opts->patch_mode ? "patch" : "path");
262-
263261
if (opts->track != BRANCH_TRACK_UNSPECIFIED)
264262
die(_("'%s' cannot be used with updating paths"), "--track");
265263

@@ -932,9 +930,6 @@ static int switch_branches(const struct checkout_opts *opts,
932930
void *path_to_free;
933931
struct object_id rev;
934932
int flag, writeout_error = 0;
935-
936-
trace2_cmd_subverb("branch");
937-
938933
memset(&old_branch_info, 0, sizeof(old_branch_info));
939934
old_branch_info.path = path_to_free = resolve_refdup("HEAD", 0, &rev, &flag);
940935
if (old_branch_info.path)
@@ -1164,8 +1159,6 @@ static int switch_unborn_to_new_branch(const struct checkout_opts *opts)
11641159
int status;
11651160
struct strbuf branch_ref = STRBUF_INIT;
11661161

1167-
trace2_cmd_subverb("unborn");
1168-
11691162
if (!opts->new_branch)
11701163
die(_("You are on a branch yet to be born"));
11711164
strbuf_addf(&branch_ref, "refs/heads/%s", opts->new_branch);

0 commit comments

Comments
 (0)