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

Function get_configured_generation_version

commit-graph.c:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 COMMIT_SLAB_INIT(1, commit_graph_data_slab);
110
111static int get_configured_generation_version(struct repository *r)
112{
113 int version = 2;
114 repo_config_get_int(r, "commitgraph.generationversion", &version);
115 return version;
116}
117
118uint32_t commit_graph_position(const struct commit *c)
119{

Callers 2

ensure_generations_validFunction · 0.85
write_commit_graphFunction · 0.85

Calls 1

repo_config_get_intFunction · 0.85

Tested by

no test coverage detected