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

Function commit_list_count

commit.c:727–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725}
726
727unsigned commit_list_count(const struct commit_list *l)
728{
729 unsigned c = 0;
730 for (; l; l = l->next )
731 c++;
732 return c;
733}
734
735struct commit_list *commit_list_copy(const struct commit_list *list)
736{

Callers 15

grab_commit_valuesFunction · 0.85
get_merge_bases_many_0Function · 0.85
num_scapegoatsFunction · 0.85
copy_oids_to_commitsFunction · 0.85
initialise_treesameFunction · 0.85
add_parents_onlyFunction · 0.85
mark_redundant_parentsFunction · 0.85
get_commit_actionFunction · 0.85
pp_headerFunction · 0.85
commit_tree_extendedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected