On Fri, Jun 28, 2024 at 11:55:37PM +0200, Ralf Hemmecke wrote:
> On 6/28/24 20:40, Waldek Hebisch wrote:
> > I get the following message:
> > 
> > warning: CRLF will be replaced by LF in src/doc/png/2Dctrl.png.
> > 
> > and several similar messages for other .png files.
> 
> When do you get this and on what type of machine.

That is on my home machine.  But I have seen in the past similar messages
for other files on different machines, so I do not think this is
important.

> > I am affraid that 'text: auto' is to blame, the files probably
> > should be marked as binary.
> 
> Oh, I must have slept. Qian, can you explain why you think that the line
> 
> * text=auto eol=lf
> 
> is necessary in .gitattributes? AFAIU, it says that every file is to be
> considered as a text file. Why?
> Secondly, why would you want to force just LF on Windows?

Well, AFAICS this is correct setting for our normal files and we
had equvalent setting in SVN for many years.  We just need to
correctly mark true binary files.

> I think all that got unnoticed, because we had now binary files before png.

We had binary files in the past.  Quite possible that we got rid of
them before Qian commited png-s.

> Perhaps now we additionally need a line
> 
> *.png         -text
> 
> Honestly, I am rather for removing "* text=auto eol=lf", since all the
> people with write access to the official repo anyway work on *nix, no?

ATM Windows exists and Mac OS also have strange handling of ends of
lines.  I would be unwise to change setting just looking at
current commiters.

-- 
                              Waldek Hebisch

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/Zn8_O8YH8Ph9I36f%40fricas.org.

Reply via email to