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

Function commit_graph_generation

commit-graph.c:126–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126timestamp_t commit_graph_generation(const struct commit *c)
127{
128 struct commit_graph_data *data =
129 commit_graph_data_slab_peek(&commit_graph_data_slab, c);
130
131 if (data && data->generation)
132 return data->generation;
133
134 return GENERATION_NUMBER_INFINITY;
135}
136
137static timestamp_t commit_graph_generation_from_graph(const struct commit *c)
138{

Callers 15

negotiate_using_fetchFunction · 0.85
compare_commits_by_genFunction · 0.85
paint_down_to_commonFunction · 0.85
remove_redundant_no_genFunction · 0.85
remove_redundantFunction · 0.85
repo_in_merge_bases_manyFunction · 0.85
contains_testFunction · 0.85
contains_tag_algoFunction · 0.85
can_all_from_reachFunction · 0.85
get_reachable_subsetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected