MCPcopy Create free account
hub / github.com/git/git / add_pending_commit_list

Function add_pending_commit_list

revision.c:1963–1973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1961}
1962
1963static 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
1975static const char *lookup_other_head(struct object_id *oid)
1976{

Callers 2

prepare_show_mergeFunction · 0.85
handle_dotdot_1Function · 0.85

Calls 2

add_pending_objectFunction · 0.85
oid_to_hexFunction · 0.85

Tested by

no test coverage detected