Re: [PATCH 0/7] Sort lists and add static-analysis
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- Mar 17, 2021, 11:01 UTC
- Message-ID
- <f720a673-e477-3c77-a722-a780ff73a461@gmail.com>
- In-Reply-To
- <cover.1615856156.git.liu.denton@gmail.com>
On 16/03/21 07.56, Denton Liu wrote:
> As a follow-up to [0], sort some file lists and create a static-analysis > check to ensure that those lists don't ever become un-sorted. > > [0]: https://lore.kernel.org/git/nycvar.QRO.7.76.6.2010081156350.50@tvgsbejvaqbjf.bet/
Remark for future patches that touch these file lists: please try to keep the ASCII sort order when adding something.
But anyways, grazie Denton.
Show 17 quoted lines
> Denton Liu (7): > Makefile: mark 'check-builtins' as a .PHONY target > Makefile: ASCII-sort LIB_OBJS > builtin.h: ASCII-sort list of functions > test-tool.h: ASCII-sort list of functions > Makefile: add 'check-sort' target > ci/run-static-analysis.sh: make check-builtins > ci/run-static-analysis.sh: make check-sort > > Makefile | 30 ++++++++++++++++++++++++++++-- > builtin.h | 22 +++++++++++----------- > check-sort.perl | 31 +++++++++++++++++++++++++++++++ > ci/run-static-analysis.sh | 2 +- > t/helper/test-tool.h | 6 +++--- > 5 files changed, 74 insertions(+), 17 deletions(-) > create mode 100755 check-sort.perl >
-- An old man doll... just what I always wanted! - Clara