Subject: Re: [PATCH 2/9] midx: allow marking a pack as preferred

From: SZEDER Gábor <[email-masked]>
Date: Thu, 11 Feb 2021 20:33:14 +0100

On Wed, Feb 10, 2021 at 06:02:42PM -0500, Taylor Blau wrote:
> diff --git a/Documentation/git-multi-pack-index.txt b/Documentation/git-multi-pack-index.txt
> index eb0caa0439..dd14eab781 100644
> --- a/Documentation/git-multi-pack-index.txt
> +++ b/Documentation/git-multi-pack-index.txt
> @@ -9,7 +9,8 @@ git-multi-pack-index - Write and verify multi-pack-indexes
>  SYNOPSIS
>  --------
>  [verse]
> -'git multi-pack-index' [--object-dir=<dir>] [--[no-]progress] <subcommand>
> +'git multi-pack-index' [--object-dir=<dir>] [--[no-]progress]
> +	[--preferred-pack=<pack>] <subcommand>
>  
>  DESCRIPTION
>  -----------
> @@ -27,6 +28,14 @@ OPTIONS
>  	Turn progress on/off explicitly. If neither is specified, progress is
>  	shown if standard error is connected to a terminal.
>  
> +--preferred-pack=<pack>::
> +	When using the `write` subcommand, optionally specify the
> +	tie-breaking pack used when multiple packs contain the same
> +	object. Incompatible with other subcommands, including `repack`,

I think this shouldn't be an option of the 'git multi-pack-index'
command but an option of its 'write' subcommand.