microsoft / scalar

Scalar: A set of tools and extensions for Git to allow very large monorepos to run on Git without a virtualization layer
MIT License
1.39k stars 63 forks source link

[HOTFIX] ConfigStep: commitGraph.generationVersion=1 #493

Closed derrickstolee closed 3 years ago

derrickstolee commented 3 years ago

The generation number v2 is better for algorithmic reasons, but it is backwards-compatible with version 1 and in doing so requires reading more data from disk. That extra data load causes a performance degradation in the typical case.

Let's avoid that for now, until a non-backwards-compatible version is ready that avoids this performance problem.

This didn't quite make it in before the release branch was created.