t5329: test 'git gc --cruft' without '--prune=now'
commit9aa1cba01a90a82dc798cc6d2f18074335f24d2e
authorDerrick Stolee <derrickstolee@github.com>
Thu, 16 Jun 2022 13:13:48 +0000 (16 13:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Jun 2022 18:59:55 +0000 (16 11:59 -0700)
tree559ba1367544be0c48ee21c600f5a10d4cba1161
parent624b8cfdcea32e4f023415097e611fb1566512fd
t5329: test 'git gc --cruft' without '--prune=now'

Replace a 'git repack --cruft -d' with the wrapper 'git gc --cruft' to
exercise some logic in builtin/gc.c that adds the '--cruft' option to
the underlying 'git repack' command.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5329-pack-objects-cruft.sh