Skip to content

Make clones faster when we know ahead of time we need the full history - #180

Merged
Notgnoshi merged 3 commits into
mainfrom
dev/faster-initial-clone
Jun 29, 2026
Merged

Notgnoshi merged 3 commits into
mainfrom
dev/faster-initial-clone

Conversation

@Notgnoshi

Copy link
Copy Markdown
Owner

Closes #176

This addresses the poor performance of iterative shallow deepening in
the case we add new rules and need to reprocess the full history.
This helps make iterative shallow deepening more performant. The
previous commit helped make shallow deepening less necessary. A shallow
deepen is now only necessary when more than DEFAULT_SHALLOW_DEPTH
commits are merged since the last run. For the size of repositories I'm
aiming to support, 200 seems like an okay heuristic.
@Notgnoshi
Notgnoshi merged commit 93014ce into main Jun 29, 2026
6 checks passed
@Notgnoshi
Notgnoshi deleted the dev/faster-initial-clone branch June 29, 2026 19:28
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.

Reconsider DeepeningRevWalk iterator design

1 participant