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

Function wt_longstatus_print_unmerged

wt-status.c:901–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

899}
900
901static 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
924static void wt_longstatus_print_updated(struct wt_status *s)
925{

Callers 1

wt_longstatus_printFunction · 0.85

Tested by

no test coverage detected