t/t6501-freshen-objects.sh: prepare for `gc --cruft` by default
commitb31d45b8315adc49b729496f3c0ed18a41ca08f6
authorTaylor Blau <me@ttaylorr.com>
Tue, 18 Apr 2023 20:40:43 +0000 (18 16:40 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Apr 2023 21:56:47 +0000 (18 14:56 -0700)
treefb045f3f5c56ea87d04263f7043007ba427f9215
parentb934207a223a846e98c693c4c6a9ca32bf995688
t/t6501-freshen-objects.sh: prepare for `gc --cruft` by default

In a similar spirit as previous commits, prepare for `gc --cruft`
becoming the default by ensuring that the tests in t6501 explicitly
cover the case of freshening loose objects not using cruft packs.

We could run this test twice, once with `--cruft` and once with
`--no-cruft`, but doing so is unnecessary, since we already test object
rescuing, freshening, and dealing with corrupt parts of the unreachable
object graph extensively via t5329.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6501-freshen-objects.sh