Skip to content

housekeeping: Always enable commit-graph generation data

In c73860e8 (git: Enable reading and writing commit-graph generation data, 2022-12-13), we have started to generate and use commit-graph generation data. This extension stores the corrected commit date for every commit, which allows Git to more efficiently compute specific queries in the commit graph.

We have slowly rolled out this feature to production systems over the last two weeks without observing any negative consequence. So let's drop the feature flag and always use commit-graph generation data.

Note that we're dropping the commitGraph.generationVersion=2 config entry completely from the Git command factory. It has been the default since Git v2.32.0, even though it didn't apply until Git v2.36.0 due to a bug. And as our minimum required Git version is v2.38.0 it is not necessary to set the value explicitly anymore.

Changelog: removed

Closes #4704 (closed).

Merge request reports