| 176 | } |
| 177 | |
| 178 | int copy_note_for_rewrite(struct notes_rewrite_cfg *c, |
| 179 | const struct object_id *from_obj, const struct object_id *to_obj) |
| 180 | { |
| 181 | int ret = 0; |
| 182 | int i; |
| 183 | for (i = 0; c->trees[i]; i++) |
| 184 | ret = copy_note(c->trees[i], from_obj, to_obj, 1, c->combine) || ret; |
| 185 | return ret; |
| 186 | } |
| 187 | |
| 188 | void finish_copy_notes_for_rewrite(struct repository *r, |
| 189 | struct notes_rewrite_cfg *c, |
no test coverage detected