Re: [PATCH 1/2] t7700: add tests for `--keep-unreachable`
- From
Jeff King <peff@peff.net>
- Date
- Feb 3, 2025, 18:32 UTC
- Message-ID
- <20250203183224.GA4183065@coredump.intra.peff.net>
- In-Reply-To
- <20250203-b4-pks-repack-unreachable-objects-wo-packfiles-v1-1-7c4d69c5072c@pks.im>
On Mon, Feb 03, 2025 at 02:06:54PM +0100, Patrick Steinhardt wrote:
> We don't have any tests for `git repack --keep-unreachable`. Add three > tests that exercise its behaviour with different packed states for the > unreachable object.
There are a few in t7701. It's spelled "-k" there, so a grep for "--keep-unreachable" would not find them.
> +test_expect_success '--keep-unreachable appends unreachable packed objects to new pack' ' > [...] > +test_expect_success '--keep-unreachable packs unreachable loose object with existing packs' '
I think these match the two that are in t7701.
-Peff