libgit2, GitRepo: Write (thin) packfiles (backport #11330)#12803
Closed
mergify[bot] wants to merge 8 commits into2.24-maintenancefrom
Closed
libgit2, GitRepo: Write (thin) packfiles (backport #11330)#12803mergify[bot] wants to merge 8 commits into2.24-maintenancefrom
mergify[bot] wants to merge 8 commits into2.24-maintenancefrom
Conversation
libgit2 didn't write thin ones, hence the patch. This should improve performance on systems with weak I/O in ~/.cache, especially in terms of operations per second, or where system calls are slower. (macOS, VMs?) (cherry picked from commit 5dd6c4f) # Conflicts: # packaging/dependencies.nix # src/libfetchers/git-utils.cc
(cherry picked from commit d0f8a92)
(cherry picked from commit 97ff2ed)
The latter is not used for memory synchronization things. (cherry picked from commit fb8d3ed)
(cherry picked from commit 57c4830)
(cherry picked from commit c1fe354) # Conflicts: # packaging/dependencies.nix
(cherry picked from commit 976f539) # Conflicts: # src/libfetchers/git-utils.cc
(cherry picked from commit 459d026)
Contributor
Author
|
Cherry-pick of 5dd6c4f has failed: Cherry-pick of c1fe354 has failed: Cherry-pick of 976f539 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Member
|
Could be done if there's interest. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
This improves performance on systems with weak I/O in
~/.cache, especially in terms of operations per second, or where system calls are slower. (macOS, VMs?)May address
Context
git_mempack_write_thin_packlibgit2/libgit2#6875TODO
Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.
This is an automatic backport of pull request #11330 done by [Mergify](https://mergify.com).