| 748 | }; |
| 749 | |
| 750 | static int in_commit_list(const struct commit_list *want, struct commit *c) |
| 751 | { |
| 752 | for (; want; want = want->next) |
| 753 | if (oideq(&want->item->object.oid, &c->object.oid)) |
| 754 | return 1; |
| 755 | return 0; |
| 756 | } |
| 757 | |
| 758 | /* |
| 759 | * Test whether the candidate is contained in the list. |
no test coverage detected