summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorEmily Shaffer <emilyshaffer@google.com>2022-10-26 17:32:43 -0400
committerJunio C Hamano <gitster@pobox.com>2022-10-26 14:39:30 -0700
commit12253ab6d0033aa8214c8a15bc2ea37ff052ff1c (patch)
tree55d71d35d434c8bbbf9645afa07de3b8562048b7 /commit.h
parent4af7188bc97f70277d0f10d56d5373022b1fa385 (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 'commit.h')
0 files changed, 0 insertions, 0 deletions