commit 9df45c383adf5819c90937f9d3cd1e6efc36292e Author: Georg Baum <b...@lyx.org> Date: Tue May 31 22:43:09 2016 +0200
Force native line endings for .po files As discussed on the list some time ago. cmake produces .po files already in native line endings. Only autotools on mingw might produce wrong line endings now, but I am pretty sure that nobody updates .po files using autotools on mingw. diff --git a/.gitattributes b/.gitattributes index 51a1fc9..980e824 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,9 @@ # configure.ac needs to have unix line ends on windows, see #10053 configure.ac eol=lf +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Our .po file update scripts produce native line endings +*.po text +