We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa5a6dc commit cab7dadCopy full SHA for cab7dad
builtin/checkout.c
@@ -856,8 +856,11 @@ static void update_refs_for_switch(const struct checkout_opts *opts,
856
remove_branch_state(the_repository);
857
strbuf_release(&msg);
858
if (!opts->quiet &&
859
- (new_branch_info->path || (!opts->force_detach && !strcmp(new_branch_info->name, "HEAD"))))
+ (new_branch_info->path || (!opts->force_detach && !strcmp(new_branch_info->name, "HEAD")))) {
860
+ trace2_region_enter("exp", "report_tracking", the_repository);
861
report_tracking(new_branch_info);
862
+ trace2_region_leave("exp", "report_tracking", the_repository);
863
+ }
864
}
865
866
static int add_pending_uninteresting_ref(const char *refname,
0 commit comments