Re: [PATCH v2 01/10] command-list.txt: sort with "LC_ALL=C sort"
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 25, 2021, 21:26 UTC
- Message-ID
- <xmqqv91kzthm.fsf@gitster.g>
- In-Reply-To
- <211025.861r483ij9.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 11 quoted lines
>> Also, I am not sure where that "led to believe" comes from---do we
>> have a test that checks the output from generate-cmdlist somehow?
>
> We end up unsorting the categories we bitwise-OR together. I.e. the
> CAT_* on a line like this:
>
> { "git-whatchanged", N_("Show logs with difference each commit introduces"), 0 | CAT_ancillaryinterrogators | CAT_complete },
>
> But we'll still sort the actual command list, and spew it out as-is in
> some places "git" and "help" output. So having it be unsorted or
> shuffled wouldn't be nice.The last paragraph would be a good replacement sentence for the part of the proposed log message that made me ask the question, I would think.
Thanks.