[Dlang-internal] What git settings should I use when working on the compiler for line endings?

Peter Williamson petewil00 at hotmail.com
Tue Nov 25 19:06:02 UTC 2025


On Monday, 24 November 2025 at 01:34:09 UTC, Peter Williamson 
wrote:
> (I didn't see this in the contribution pages, so apologies if I 
> skimmed it too fast)
>
> I'm developing on a linux box.  I see that when I git cloned 
> the project all the line endings got changed.  I don't want to 
> commit files with only changed line endings.  You probably have 
> a preferred setting of a git internal config variable to 
> prevent problems.  What do you set it to?

I think I wanted git config --global core.autocrlf input,
since I'm developing on a linux box (I would have used "true" 
instead of "input" on a windows box


More information about the Dlang-internal mailing list