From 9df45c383adf5819c90937f9d3cd1e6efc36292e Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Tue, 31 May 2016 22:43:09 +0200 Subject: [PATCH] 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. --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitattributes b/.gitattributes index 51a1fc9aba..980e824d8b 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 +