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

Function apply_pseudo_merges_for_commit_1

pack-bitmap.c:1159–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1157}
1158
1159static unsigned apply_pseudo_merges_for_commit_1(struct bitmap_index *bitmap_git,
1160 struct bitmap *result,
1161 struct commit *commit,
1162 uint32_t commit_pos)
1163{
1164 struct bitmap_index *curr = bitmap_git;
1165 int ret = 0;
1166
1167 while (curr) {
1168 ret += apply_pseudo_merges_for_commit(&curr->pseudo_merges,
1169 result, commit,
1170 commit_pos);
1171 curr = curr->base;
1172 }
1173
1174 if (ret)
1175 pseudo_merges_satisfied_nr += ret;
1176
1177 return ret;
1178}
1179
1180static int add_to_include_set(struct bitmap_index *bitmap_git,
1181 struct include_data *data,

Callers 1

add_to_include_setFunction · 0.85

Calls 1

Tested by

no test coverage detected