Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework repacking logic to make it more clever
- Rework the repack code to be more clever -- instead of repacking based purely on dates, we now track the number of loose objects and the number of generated packs. Many of the settings are hardcoded for the moment while testing, but will probably end up settable via global and per-repository config settings. - The following fsck.conf settings have no further effect: - repack_flags (replaced with extra_repack_flags) - full_repack_flags (replaced with extra_repack_flags_full) - full_repack_every (we now figure it out ourselves) - Move git command invocation routines into a central function to reduce the amount of code duplication. You can also set the path to the git binary using the GITBIN env variable or by simply adding it to your path. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
- Loading branch information
Showing
8 changed files
with
259 additions
and
223 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.