File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,6 +258,8 @@ 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+
261263 if (opts -> track != BRANCH_TRACK_UNSPECIFIED )
262264 die (_ ("'%s' cannot be used with updating paths" ), "--track" );
263265
@@ -930,6 +932,9 @@ static int switch_branches(const struct checkout_opts *opts,
930932 void * path_to_free ;
931933 struct object_id rev ;
932934 int flag , writeout_error = 0 ;
935+
936+ trace2_cmd_subverb ("branch" );
937+
933938 memset (& old_branch_info , 0 , sizeof (old_branch_info ));
934939 old_branch_info .path = path_to_free = resolve_refdup ("HEAD" , 0 , & rev , & flag );
935940 if (old_branch_info .path )
@@ -1159,6 +1164,8 @@ static int switch_unborn_to_new_branch(const struct checkout_opts *opts)
11591164 int status ;
11601165 struct strbuf branch_ref = STRBUF_INIT ;
11611166
1167+ trace2_cmd_subverb ("unborn" );
1168+
11621169 if (!opts -> new_branch )
11631170 die (_ ("You are on a branch yet to be born" ));
11641171 strbuf_addf (& branch_ref , "refs/heads/%s" , opts -> new_branch );
You can’t perform that action at this time.
0 commit comments