AW: AW: Fixed line endings in the repository

> How does “binary-incompatible” become noticable? (I’m not suggesting it
doesn’t, I’m just curious.)

Sure! For example, the original binary format is preserved if you download “raw files”…

https://raw.githubusercontent.com/qt4cg/qtspecs/master/specifications/xpath-functions-40/src/xpath-functions.xml

…or a zipped version via Github.

Next, it can happen if you share resources directly with users across different platforms. Finally, diffs are always easier if files are as similar as possible.

It was definitely a great choice by Apple to drop \r and switch to Unix-style line endings. It’s a shame that Microsoft never followed suite (well, it’s their business model to do things differently).

> I would have thought, you check out foo.xml on a Windows machine, it has Windows line endings, you edit the file, you commit it, I check out foo.xml, it has Unix line endings, … everyone is happy.

…absolutely reasonable. 

Thanks,
Christian

Received on Wednesday, 1 November 2023 19:19:08 UTC