| 899 | } |
| 900 | |
| 901 | static void wt_longstatus_print_unmerged(struct wt_status *s) |
| 902 | { |
| 903 | int shown_header = 0; |
| 904 | int i; |
| 905 | |
| 906 | for (i = 0; i < s->change.nr; i++) { |
| 907 | struct wt_status_change_data *d; |
| 908 | struct string_list_item *it; |
| 909 | it = &(s->change.items[i]); |
| 910 | d = it->util; |
| 911 | if (!d->stagemask) |
| 912 | continue; |
| 913 | if (!shown_header) { |
| 914 | wt_longstatus_print_unmerged_header(s); |
| 915 | shown_header = 1; |
| 916 | } |
| 917 | wt_longstatus_print_unmerged_data(s, it); |
| 918 | } |
| 919 | if (shown_header) |
| 920 | wt_longstatus_print_trailer(s); |
| 921 | |
| 922 | } |
| 923 | |
| 924 | static void wt_longstatus_print_updated(struct wt_status *s) |
| 925 | { |
no test coverage detected