| 1157 | } |
| 1158 | |
| 1159 | static 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 | |
| 1180 | static int add_to_include_set(struct bitmap_index *bitmap_git, |
| 1181 | struct include_data *data, |
no test coverage detected