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

Function commit_stack_clear

commit.c:2040–2044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040void commit_stack_clear(struct commit_stack *stack)
2041{
2042 free(stack->items);
2043 commit_stack_init(stack);
2044}

Callers 15

write_commit_graphFunction · 0.85
add_missing_tagsFunction · 0.85
is_reachable_in_reflogFunction · 0.85
write_midx_internalFunction · 0.85
clear_shallow_infoFunction · 0.85
post_assign_shallowFunction · 0.85
get_fork_pointFunction · 0.85
bitmap_builder_clearFunction · 0.85
mark_commonFunction · 0.85
mark_commonFunction · 0.85

Calls 1

commit_stack_initFunction · 0.85

Tested by 1

cmd__reachFunction · 0.68