Re: [PATCH 06/23] midx: struct midxed_git and 'read' subcommand
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 7, 2018, 18:31 UTC
- Message-ID
- <CACsJy8DG1-YTSBSFkpM8BPcnKmvC-BjjK0W0+EckkdENPC7Ohg@mail.gmail.com>
- In-Reply-To
- <20180607140338.32440-7-dstolee@microsoft.com>
On Thu, Jun 7, 2018 at 4:03 PM, Derrick Stolee <stolee@gmail.com> wrote:
Show 12 quoted lines
> diff --git a/Documentation/git-midx.txt b/Documentation/git-midx.txt > index dcaeb1a91b..919283fdd8 100644 > --- a/Documentation/git-midx.txt > +++ b/Documentation/git-midx.txt > @@ -23,6 +23,11 @@ OPTIONS > <dir>/packs/multi-pack-index for the current MIDX file, and > <dir>/packs for the pack-files to index. > > +read:: > + When given as the verb, read the current MIDX file and output > + basic information about its contents. Used for debugging > + purposes only.
On second thought. If you just need a temporary debugging interface, adding a program in t/helper may be a better option. In the end we might still need 'read' to dump a file out, but we should have some stable output format (and json might be a good choice).
That's it I'm done for today. I will continue on the rest some day, hopefully.
-- Duy