在 2024-10-09 23:37, Antonin Décimo 写道:
Not necessarily, were there ever unwanted CRLF or LF being committed to the repository? What really matters to me are unwanted CRLF when checking out files. The rest could be left to the user. I chose `autocrlf=auto` as it is GitHub suggested default.
Frankly speaking, I don't agree with that. Almost everything can handle LF well, except the old Windows Notepad; so LF should always be preferred.
There are tools e.g. sed that convert CR LF to LF implicitly. The patch util may refuse to apply patches or report conflicts about CR.
I don't have a very strong opinion on this. Let's hear about what other people may think. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public