]> git.99rst.org Git - git.git/commit
t/t6500-gc.sh: add additional test cases
authorTaylor Blau <redacted>
Tue, 18 Apr 2023 20:40:49 +0000 (16:40 -0400)
committerJunio C Hamano <redacted>
Tue, 18 Apr 2023 21:56:48 +0000 (14:56 -0700)
commitb9061bc628673c447996759821cecc399c908331
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t6500-gc.sh
git clone https://git.99rst.org/PROJECT