| 2167 | } |
| 2168 | |
| 2169 | static void wt_shortstatus_print(struct wt_status *s) |
| 2170 | { |
| 2171 | struct string_list_item *it; |
| 2172 | |
| 2173 | if (s->show_branch) |
| 2174 | wt_shortstatus_print_tracking(s); |
| 2175 | |
| 2176 | for_each_string_list_item(it, &s->change) { |
| 2177 | struct wt_status_change_data *d = it->util; |
| 2178 | |
| 2179 | if (d->stagemask) |
| 2180 | wt_shortstatus_unmerged(it, s); |
| 2181 | else |
| 2182 | wt_shortstatus_status(it, s); |
| 2183 | } |
| 2184 | for_each_string_list_item(it, &s->untracked) |
| 2185 | wt_shortstatus_other(it, s, "??"); |
| 2186 | |
| 2187 | for_each_string_list_item(it, &s->ignored) |
| 2188 | wt_shortstatus_other(it, s, "!!"); |
| 2189 | } |
| 2190 | |
| 2191 | static void wt_porcelain_print(struct wt_status *s) |
| 2192 | { |
no test coverage detected