From: Derrick Stolee Date: Wed, 05 Sep 2018 19:37:44 GMT Subject: Re: [PATCH 01/11] multi-pack-index: add 'verify' verb Message-ID: <81279be3-6d9a-ae39-a5e9-399fd4be2a23@gmail.com> In-Reply-To: On 9/5/2018 2:59 PM, Eric Sunshine wrote: > On Wed, Sep 5, 2018 at 10:46 AM Derrick Stolee via GitGitGadget > wrote: >> The multi-pack-index builtin writes multi-pack-index files, and >> uses a 'write' verb to do so. Add a 'verify' verb that checks this >> file matches the contents of the pack-indexes it replaces. >> [...] >> Signed-off-by: Derrick Stolee >> --- >> diff --git a/builtin/multi-pack-index.c b/builtin/multi-pack-index.c >> @@ -5,7 +5,7 @@ >> static char const * const builtin_multi_pack_index_usage[] = { >> - N_("git multi-pack-index [--object-dir=] write"), >> + N_("git multi-pack-index [--object-dir=] [write|verify]"), > Nit: The square brackets make the verb optional. You probably want > parenthesis to indicate that one or the other is required: > > git multi-pack-index [--object-dir=] (write|verify) Thanks for catching this mistake! This would be easy to miss and keep around forever.