mstorsjo wrote:

> > > It's my understanding that text=auto does not override core.autocrlf. As 
> > > far as I can tell from the documentation it honours the user's 
> > > configuration for core.eol in combination with core.autocrlf - from git 
> > > config --help:
> 
> > This doesn't match my experience.
> 
> I think this is due to a subtly of config. Setting `core.autocrlf` to `false` 
> doesn't actually do anything since it's the default. 

It most definitely does something. Please have another look at 
https://github.com/mstorsjo/llvm-project/commit/inspect-newlines and the output 
of the log at 
https://github.com/mstorsjo/llvm-project/actions/runs/11407224268/job/31742748818.

First we do a checkout without setting anything. We get files with CRLF. Then 
we set `core.autocrlf` to `false`, which is the common way of dealing with 
this, then we do another checkout, and we get files with LF.

Do you dispute the above?

https://github.com/llvm/llvm-project/pull/86318
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to