diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-11-09 01:14:48 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-11-09 01:14:48 +0300 |
commit | bdd42e34e3fdca79e20e30bcc03e99138e59c992 (patch) | |
tree | 5d2d069ae20b54ff4f0006e63306dec30245e355 /repo-settings.c | |
parent | 098b1d07bce86358d0d3aeb2ea6f1932362709b0 (diff) | |
parent | c695592850a3b4b7857fc11721cbc7d2b332f41e (diff) |
Merge branch 'es/mark-gc-cruft-as-experimental'
Enable gc.cruftpacks by default for those who opt into
feature.experimental setting.
* es/mark-gc-cruft-as-experimental:
config: let feature.experimental imply gc.cruftPacks=true
gc: add tests for --cruft and friends
Diffstat (limited to 'repo-settings.c')
-rw-r--r-- | repo-settings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/repo-settings.c b/repo-settings.c index e8b58151bc..3021921c53 100644 --- a/repo-settings.c +++ b/repo-settings.c @@ -43,6 +43,7 @@ void prepare_repo_settings(struct repository *r) /* Defaults modified by feature.* */ if (experimental) { r->settings.fetch_negotiation_algorithm = FETCH_NEGOTIATION_SKIPPING; + r->settings.gc_cruft_packs = 1; } if (manyfiles) { r->settings.index_version = 4; |