MCPcopy Index your code
hub / github.com/git/git / commit_stack_push

Function commit_stack_push

commit.c:2029–2033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2027}
2028
2029void commit_stack_push(struct commit_stack *stack, struct commit *commit)
2030{
2031 commit_stack_grow(stack, 1);
2032 stack->items[stack->nr++] = commit;
2033}
2034
2035struct commit *commit_stack_pop(struct commit_stack *stack)
2036{

Callers 15

copy_oids_to_commitsFunction · 0.85
merge_commit_graphFunction · 0.85
add_to_tipsFunction · 0.85
add_missing_tagsFunction · 0.85
check_and_collect_untilFunction · 0.85
bitmap_show_commitFunction · 0.85
add_refFunction · 0.85
add_one_commitFunction · 0.85
bitmap_builder_initFunction · 0.85
mark_commonFunction · 0.85

Calls 1

commit_stack_growFunction · 0.85

Tested by 1

cmd__reachFunction · 0.68