MCPcopy Create free account
hub / github.com/git/git / wt_shortstatus_print

Function wt_shortstatus_print

wt-status.c:2169–2189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2167}
2168
2169static 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
2191static void wt_porcelain_print(struct wt_status *s)
2192{

Callers 2

wt_porcelain_printFunction · 0.85
wt_status_printFunction · 0.85

Calls 4

wt_shortstatus_unmergedFunction · 0.85
wt_shortstatus_statusFunction · 0.85
wt_shortstatus_otherFunction · 0.85

Tested by

no test coverage detected