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

Function has_unmerged

wt-status.c:850–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848}
849
850static int has_unmerged(struct wt_status *s)
851{
852 int i;
853
854 for (i = 0; i < s->change.nr; i++) {
855 struct wt_status_change_data *d;
856 d = s->change.items[i].util;
857 if (d->stagemask)
858 return 1;
859 }
860 return 0;
861}
862
863void wt_status_collect(struct wt_status *s)
864{

Callers 5

wt_status_collectFunction · 0.85
show_merge_in_progressFunction · 0.85
show_rebase_in_progressFunction · 0.85
show_revert_in_progressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected