Git has a setting for that called core.autocrlf and it seems we need to
tell people exactly how to use it and put that in our Readme files and
source web pages. We should explain how to use it on macOS, Windows, Linux.

We probably also need to point out using dos2unix on Windows to clean up
messes.

Gary

On Sat, Jan 18, 2025, 08:46 sebb <seb...@gmail.com> wrote:

> Several Git repos have files with CRLF line endings even when checked
> out on Unix or macOS.
>
> This can cause problems when editing, and can cause large commit diff
> emails which obscure the actual change.
>
> I'm thinking it might be useful to add a Checkstyle rule to detect such
> files.
>
> And/or maybe there is a way to ensure text files don't get the wrong EOL?
>
> Sebb
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to