Hi Piotr, Do you need this in each active branch? Does it work with PRs?
TY for the tip! Gary On Sat, Jan 18, 2025, 11:25 Piotr P. Karwasz <[email protected]> wrote: > Hi sebb, > > On 18.01.2025 16:46, sebb wrote: > > On Sat, 18 Jan 2025 at 15:35, sebb <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > >
