diff options
author | Emily Shaffer <emilyshaffer@google.com> | 2022-10-27 00:32:43 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-10-27 00:39:30 +0300 |
commit | 12253ab6d0033aa8214c8a15bc2ea37ff052ff1c (patch) | |
tree | 55d71d35d434c8bbbf9645afa07de3b8562048b7 /repo-settings.c | |
parent | 4af7188bc97f70277d0f10d56d5373022b1fa385 (diff) |
gc: add tests for --cruft and friends
In 5b92477f89 (builtin/gc.c: conditionally avoid pruning objects via
loose, 2022-05-20) gc learned to respect '--cruft' and 'gc.cruftPacks'.
'--cruft' is exercised in t5329-pack-objects-cruft.sh, but in a way that
doesn't check whether a lone gc run generates these cruft packs.
'gc.cruftPacks' is never exercised.
Add some tests to exercise these options to gc in the gc test suite.
Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repo-settings.c')
0 files changed, 0 insertions, 0 deletions