I did not see a garbage collection command in LibGit2 so I was wondering if it is currently automatically packing files in a local repository.
相关问题
- Does the libgit2 project or anyone else provide sa
- Download one file from remote (git show) using lib
- git2go with libssl and libssh2 in single binary
- Git stash on windows extremly slow compared to Lib
- How to get the current/active branch with LibGit2S
相关文章
- How to get the current/active branch with LibGit2S
- How to commit to a git repository using libgit2?
- how can i use rugged to create and commit a file l
- How to retrieve all object IDs?
- Git repository internal format explained
- Best way to do parallel stages?
- How to use libgit2 from a native C++ application o
- LibGit2Sharp: Fetching fails with “Too many redire
There is no automatic repacking. This is something which you absolutely never want the library to do. All objects start off as loose objects and remain that way until some tool decides it would like to do housekeeping.
Repacking (and gc operations in general) is 90% policy, which is not something that the library should be doing. Whatever tool wants to do its should choose an appropriate time to create a packfile out of them based on the specific knowledge of usage.