Re: [RFC PATCH 1/7] Makefile: alphabetically sort += lists
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 21, 2019, 19:49 UTC
- Message-ID
- <xmqqblu9lw00.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <nycvar.QRO.7.76.6.1910212043200.46@tvgsbejvaqbjf.bet>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 11 quoted lines
>> ... I do not particularly see this change (there may be similar >> ones) desirable. I'd find it it be much more natural to sort >> "commit-anything" after "commit", and that is true with or without >> the common extension ".o" added to these entries. >> >> In short, flipping these entries because '.' sorts later than '-' is >> making the result look "less sorted", at least to me. > > The problem with this argument is that it disagrees with ASCII, as `-` > has code 0x2d while `.` has code 0x2e, i.e. it is lexicographically > _larger_.
I am saying that sorting these in ASCII order did not produce result that is easy to the eyes.
You are saying that Denton's patch sorted these lines in ASCII order.
I agree with you that it did correctly sort them in ASCII order.
That does not make the patch right ;-)