Re: [RFC PATCH v5 1/1] scripts: Introduce a default git.orderFile

From: Masahiro Yamada
Date: Tue Dec 12 2023 - 03:10:03 EST


On Tue, Dec 12, 2023 at 4:32 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> Urrg, hell no. Alphabetic order is the only one allowing sensible
> searching. If you have a different preference use your local .gitconfig
> instead of enforcing completely random preference on others.



Unlike .gitignore, this feature is opt-in rather than enforced.

To use this, you need to run

'git config diff.orderFile scripts/git.orderFile'

or

'git diff -C scripts/git.orderFile'



Indeed, the file order is subjective, leaving
us a question "do we need it in upstream"?

At least, it is harmless for people who have no interest.


--
Best Regards
Masahiro Yamada