From: Jeff King Date: Tue, 18 Apr 2023 10:48:13 GMT Subject: Re: [PATCH 07/10] t/t6500-gc.sh: add additional test cases Message-ID: <20230418104813.GF508219@coredump.intra.peff.net> In-Reply-To: <6957e54f51759ff1b6d2469bc40c9b966635595d.1681764848.git.me@ttaylorr.com> On Mon, Apr 17, 2023 at 04:54:33PM -0400, Taylor Blau wrote: > 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 the following commit, which will change the default > of `gc.cruftPacks` by ensuring that we understand which invocations do > and do not change as a result. I think "the following commit" is really patch 9. Patch 8 adjusts t6501 (and likewise says "like the previous commits"). It would probably make more sense to put patch 8 before patches 6 and 7. Probably not worth a re-roll on its own, but if you're doing one anyway, it should be easy to do. -Peff