Re: [PATCH 2/9] midx: allow marking a pack as preferred
- From
SZEDER Gábor <szeder.dev@gmail.com>
- Date
- Feb 11, 2021, 19:33 UTC
- Message-ID
- <20210211193314.GG1015009@szeder.dev>
- In-Reply-To
- <4a358d57cf6e834cd1756e70bf713d4d104f321e.1612998106.git.me@ttaylorr.com>
On Wed, Feb 10, 2021 at 06:02:42PM -0500, Taylor Blau wrote:
Show 22 quoted lines
> 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.