Skip to content

Add support for reading newer commit graphs by skip reading GDA2/GDO2#7271

Open
AHSauge wants to merge 1 commit into
libgit2:mainfrom
AHSauge:feature/skip-generation-v2
Open

Add support for reading newer commit graphs by skip reading GDA2/GDO2#7271
AHSauge wants to merge 1 commit into
libgit2:mainfrom
AHSauge:feature/skip-generation-v2

Conversation

@AHSauge
Copy link
Copy Markdown
Contributor

@AHSauge AHSauge commented May 18, 2026

Generation number v2 is optional, so we can skip them for now and fall back to generation number v1 / topological levels. This makes commit graphs from newer git version somewhat useful again

@AHSauge AHSauge force-pushed the feature/skip-generation-v2 branch from 5f2404c to fdc7c29 Compare May 18, 2026 22:39
@AHSauge
Copy link
Copy Markdown
Contributor Author

AHSauge commented May 18, 2026

I'm just starting to look at commit graphs here, but this seemed like an obvious easy win. Obviously we should make use of the generation number v2 chunks as well, but that seems secondary to restoring performance if git made the commit graph.

Generation number v2 is optional, so we can skip them for now and fall back to generation number v1 / topological levels.
This makes commit graphs from newer git version somewhat useful again
@AHSauge AHSauge force-pushed the feature/skip-generation-v2 branch from fdc7c29 to 9ac6822 Compare May 23, 2026 09:26
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant