| 789 | } |
| 790 | |
| 791 | static int add_ref(const struct reference *ref, void *cb_data) |
| 792 | { |
| 793 | struct commit_stack *cs = cb_data; |
| 794 | struct commit *commit = lookup_commit_reference_gently(the_repository, |
| 795 | ref->oid, 1); |
| 796 | if (commit) |
| 797 | commit_stack_push(cs, commit); |
| 798 | return 0; |
| 799 | } |
| 800 | |
| 801 | static void update_refstatus(int *ref_status, size_t nr, uint32_t *bitmap) |
| 802 | { |
nothing calls this directly
no test coverage detected