Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable multi-threaded pack file creation #1352

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

kempniu
Copy link
Contributor

@kempniu kempniu commented Feb 17, 2025

libgit2 supports creating pack files using multiple threads, which can significantly speed up a push operation. Enable Remote.push() to take advantage of that capability by adding a relevant keyword argument whose value gets passed to git_remote_push().

The documentation for the new argument was stolen from inspired by upstream docs.

libgit2 supports creating pack files using multiple threads, which can
significantly speed up a push operation.  Enable Remote.push() to take
advantage of that capability by adding a relevant keyword argument whose
value gets passed to git_remote_push().
@jdavid jdavid merged commit de2b4e5 into libgit2:master Feb 18, 2025
8 checks passed
@kempniu kempniu deleted the packbuilder-parallelism branch February 18, 2025 08:44
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.

2 participants