@@ -749,29 +749,16 @@ static int has_unmerged(struct wt_status *s)
749749
750750void wt_status_collect (struct wt_status * s )
751751{
752- trace2_region_enter ("status" , "worktrees" , the_repository );
753752 wt_status_collect_changes_worktree (s );
754- trace2_region_leave ("status" , "worktrees" , the_repository );
755-
756- if (s -> is_initial ) {
757- trace2_region_enter ("status" , "initial" , the_repository );
753+ if (s -> is_initial )
758754 wt_status_collect_changes_initial (s );
759- trace2_region_leave ("status" , "initial" , the_repository );
760- } else {
761- trace2_region_enter ("status" , "index" , the_repository );
755+ else
762756 wt_status_collect_changes_index (s );
763- trace2_region_leave ("status" , "index" , the_repository );
764- }
765-
766- trace2_region_enter ("status" , "untracked" , the_repository );
767757 wt_status_collect_untracked (s );
768- trace2_region_leave ("status" , "untracked" , the_repository );
769758
770- trace2_region_enter ("status" , "committable" , the_repository );
771759 wt_status_get_state (& s -> state , s -> branch && !strcmp (s -> branch , "HEAD" ));
772760 if (s -> state .merge_in_progress && !has_unmerged (s ))
773761 s -> committable = 1 ;
774- trace2_region_leave ("status" , "committable" , the_repository );
775762}
776763
777764void wt_status_collect_free_buffers (struct wt_status * s )
0 commit comments