Hi sebb,

On 18.01.2025 16:46, sebb wrote:
On Sat, 18 Jan 2025 at 15:35, sebb <seb...@gmail.com> wrote:
Ideally we need something that is part of the repo checkout.
Has anyone experience of using .gitattributes?
That looks as though it might be a solution.

We are using `.gitattributes` in all Log4j repos with LF as line ending (see [1] for example) and files with CRLF endings have practically disappeared. Another advantage of using `.gitattributes` is that artifacts compiled on Windows are usually identical to those compiled on UNIX.

Piotr

[1] https://github.com/apache/logging-log4j2/blob/2.x/.gitattributes


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to