Supercharging the Git Commit Graph III: Generations and Graph Algorithms

John Powell

Earlier, we announced that Git 2.18 containsĀ a new commit-graph feature, and we discussedĀ the commit-graph file format. As shipped in Git 2.18, this file only speeds up commit walks by a constant multiple, due to parsing structured data from the commit-graph file. Today, we continue by talking about how we can use the idea of aĀ generation numberĀ to greatly reduce the number of commits we walk, giving much greater performance improvements. Many of the topics we discuss today are alreadyĀ on their way to a future version of GitĀ while others are still part ofĀ the future plans for the commit-graph feature.

Feedback usabilla icon