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 8e03410 commit a047080Copy full SHA for a047080
builtin/checkout.c
@@ -986,8 +986,11 @@ static void update_refs_for_switch(const struct checkout_opts *opts,
986
remove_branch_state(the_repository, !opts->quiet);
987
strbuf_release(&msg);
988
if (!opts->quiet &&
989
- (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")))) {
990
+ trace2_region_enter("exp", "report_tracking", the_repository);
991
report_tracking(new_branch_info);
992
+ trace2_region_leave("exp", "report_tracking", the_repository);
993
+ }
994
}
995
996
static int add_pending_uninteresting_ref(const char *refname,
0 commit comments