]> git.99rst.org Git - git.git/commit
t/t6501-freshen-objects.sh: prepare for `gc --cruft` by default
authorTaylor Blau <redacted>
Tue, 18 Apr 2023 20:40:43 +0000 (16:40 -0400)
committerJunio C Hamano <redacted>
Tue, 18 Apr 2023 21:56:47 +0000 (14:56 -0700)
commitb31d45b8315adc49b729496f3c0ed18a41ca08f6
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6501-freshen-objects.sh
git clone https://git.99rst.org/PROJECT