| 1961 | } |
| 1962 | |
| 1963 | static void add_pending_commit_list(struct rev_info *revs, |
| 1964 | struct commit_list *commit_list, |
| 1965 | unsigned int flags) |
| 1966 | { |
| 1967 | while (commit_list) { |
| 1968 | struct object *object = &commit_list->item->object; |
| 1969 | object->flags |= flags; |
| 1970 | add_pending_object(revs, object, oid_to_hex(&object->oid)); |
| 1971 | commit_list = commit_list->next; |
| 1972 | } |
| 1973 | } |
| 1974 | |
| 1975 | static const char *lookup_other_head(struct object_id *oid) |
| 1976 | { |
no test coverage detected