Re: [PATCH] MIDX: revert the default version to v1
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 16, 2026, 20:58 UTC
- Message-ID
- <xmqq1pgezkpw.fsf@gitster.g>
- In-Reply-To
- <xmqqv7dqzoeh.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> Of course, the tip of tb/incremental-midx-part-3.3 needs to be > adjusted with this before merging to 'seen'. I think my tree is > getting ready to push the "revert the default" down to 'master'.
I'll discard this patch, as Peff's latest one that enables v2 only when needed should make it unnecessary.
Thanks.
Show 17 quoted lines
> ----- >8 ----
> SQUASH??? adjust for MIDX version default reversion
>
> diff --git a/t/t7705-repack-incremental-midx.sh b/t/t7705-repack-incremental-midx.sh
> index 562554e69b..7eb1109ec5 100755
> --- a/t/t7705-repack-incremental-midx.sh
> +++ b/t/t7705-repack-incremental-midx.sh
> @@ -63,6 +63,9 @@ create_layers () {
> done
> }
>
> +# These incremental MIDX tests requires the V2 format.
> +git config --global midx.version 2
> +
> test_expect_success '--write-midx=incremental without --geometric' '
> git init incremental-without-geometric &&
> (