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

Function wt_longstatus_print_updated

wt-status.c:924–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

922}
923
924static void wt_longstatus_print_updated(struct wt_status *s)
925{
926 int shown_header = 0;
927 int i;
928
929 for (i = 0; i < s->change.nr; i++) {
930 struct wt_status_change_data *d;
931 struct string_list_item *it;
932 it = &(s->change.items[i]);
933 d = it->util;
934 if (!d->index_status ||
935 d->index_status == DIFF_STATUS_UNMERGED)
936 continue;
937 if (!shown_header) {
938 wt_longstatus_print_cached_header(s);
939 shown_header = 1;
940 }
941 wt_longstatus_print_change_data(s, WT_STATUS_UPDATED, it);
942 }
943 if (shown_header)
944 wt_longstatus_print_trailer(s);
945}
946
947/*
948 * -1 : has delete

Callers 1

wt_longstatus_printFunction · 0.85

Tested by

no test coverage detected