Subject: Re: [PATCH] MIDX: revert the default version to v1

From: Junio C Hamano <[email-masked]>
Date: Thu, 16 Apr 2026 13:58:03 -0700

Junio C Hamano <[email-masked]> 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.

> ----- >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 &&
>  	(