t/t6500-gc.sh: add additional test cases
commitb9061bc628673c447996759821cecc399c908331
authorTaylor Blau <me@ttaylorr.com>
Tue, 18 Apr 2023 20:40:49 +0000 (18 16:40 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Apr 2023 21:56:48 +0000 (18 14:56 -0700)
tree9b1f69359a34ab4f67768172b2d9775f46caad01
parent50685e0e0ba743892c9832c414494093ae3e8703
t/t6500-gc.sh: add additional test cases

In the last commit, we refactored some of the tests in t6500 to make
clearer when cruft packs will and won't be generated by `git gc`.

Add the remaining cases not covered by the previous patch into this one,
which enumerates all possible combinations of arguments that will
produce (or not produce) a cruft pack.

This prepares us for a future commit which will change the default value
of `gc.cruftPacks` by ensuring that we understand which invocations do
and do not change as a result.

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