| 1400 | } |
| 1401 | |
| 1402 | static void add_to_tips(struct commit_stack *tips, const struct object_id *oid) |
| 1403 | { |
| 1404 | struct commit *commit; |
| 1405 | |
| 1406 | if (is_null_oid(oid)) |
| 1407 | return; |
| 1408 | commit = lookup_commit_reference_gently(the_repository, oid, 1); |
| 1409 | if (!commit || (commit->object.flags & TMP_MARK)) |
| 1410 | return; |
| 1411 | commit->object.flags |= TMP_MARK; |
| 1412 | commit_stack_push(tips, commit); |
| 1413 | } |
| 1414 | |
| 1415 | static void add_missing_tags(struct ref *src, struct ref **dst, struct ref ***dst_tail) |
| 1416 | { |
no test coverage detected