← Back to team overview

maria-developers team mailing list archive

Re: Windows line endings in source files

 

Hi, Otto!

On May 08, Otto Kekäläinen wrote:
> While preparing the Debian updates I noticed git complaning:
> 
> The file will have its original line endings in your working directory.
> warning: CRLF will be replaced by LF in
> storage/spider/mysql-test/spider/t/have_partition.inc.
> 
>  mariadb-10.0/mysql-test/r/func_regexp_pcre.result
>  mariadb-10.0/mysql-test/r/loadxml.result
>  mariadb-10.0/mysql-test/r/mysql_binary_mode.result
... 
> This is the first time in two years I've found CRLF line endings in
> MariaDB source files. I hope I won't see them again..

I think they don't *really* have CRLF endings (some of these files were
not changed for years). It's due to recent changes in the .gitattributes
file - git now converts them to windows line endings on checkout. We'll
fix it.

Regards,
Sergei


References