Makefile: ASCII-sort += lists
authorDenton Liu <liu.denton@gmail.com>
Sat, 21 Mar 2020 09:21:20 +0000 (05:21 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Mar 2020 21:48:15 +0000 (14:48 -0700)
commit805d9eaf5eab0edc3567d9e19e74a3f9168e764a
tree537decf559eb84dba02d8d43b944e8197c7781c2
parent274b9cc25322d9ee79aa8e6d4e86f0ffe5ced925
Makefile: ASCII-sort += lists

There are many += lists in the Makefile and, over time, they have gotten
slightly out of ASCII order. Sort all += lists to bring them back in
order.

ASCII sorting was chosen over strict alphabetical order even though, if
we omit file prefixes, the lists aren't sorted in strictly alphabetical
order (e.g. archive.o comes after archive-zip.o instead of before
archive-tar.o). This is intentional because the purpose of maintaining
the sorted list is to ensure line insertions are deterministic. By using
ASCII ordering, it is more easily mechanically reproducible in the
future, such as by using :sort in Vim.

This patch is best viewed with `--color-moved`.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile