]> git.ipfire.org Git - thirdparty/git.git/commit - command-list.txt
command-list.txt: sort with "LC_ALL=C sort"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 5 Nov 2021 14:07:59 +0000 (15:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Nov 2021 19:01:12 +0000 (12:01 -0700)
commit1ea3d7fcc4deaf1220a752b2bcb7c9c72270e264
tree62a726368c67304605d32b668d6cc055ec1f2212
parent88d915a634b449147855041d44875322de2b286d
command-list.txt: sort with "LC_ALL=C sort"

We should keep these files sorted in the C locale, e.g. in the C
locale the order is:

    git-check-mailmap
    git-check-ref-format
    git-checkout

But under en_US.UTF-8 it's:

    git-check-mailmap
    git-checkout
    git-check-ref-format

In a subsequent commit I'll change generate-cmdlist.sh to use C sort
order, and without this change we'd be led to believe that that change
caused a meaningful change in the output, so let's do this as a
separate step, right now the generate-cmdlist.sh script just uses the
order found in this file.

Note that this refers to the sort order of the lines in
command-list.txt, a subsequent commit will also change how we treat
the sort order of the "category" fields, but that's unrelated to this
change.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
command-list.txt