Re: [PATCH 2/2] config: let feature.experimental imply gc.cruftPacks=true
- From
Derrick Stolee <derrickstolee@github.com>
- Date
- Aug 4, 2022, 13:05 UTC
- Message-ID
- <6803b725-526e-a1c8-f15c-a9ed4a144d4c@github.com>
- In-Reply-To
- <20220803205721.3686361-3-emilyshaffer@google.com>
On 8/3/2022 4:57 PM, Emily Shaffer wrote:
Show 5 quoted lines
> + /* feature.experimental implies gc.cruftPacks=true */
> + git_config_get_bool("feature.experimental", &experimental);
> + if (experimental)
> + cruft_packs = 1;
> +This should be grouped into prepare_repo_settings() in repo-settings.c so we have a single place to see what is updated by feature.experimental.
Thanks, -Stolee