On 14/09/21 01.12, Glen Choo wrote:
builtin/gc.c has two ways of checking of multi-pack-index is enabled: - git_config_get_bool() in incremental_repack_auto_condition() - the_repository->settings.core_multi_pack_index in maintenance_task_incremental_repack() the_repository->settings.core_multi_pack_index should be preferred because it has default values from prepare_repo_settings(). Standardize on the_repository->settings.core_multi_pack_index to check if multi-pack-index is enabled.
I was wonder what the correlations between checking if MIDX is enabled and performing incremental repack are. What are these?
-- An old man doll... just what I always wanted! - Clara