]> git.lyx.org Git - lyx.git/commitdiff
Force native line endings for .po files
authorGeorg Baum <baum@lyx.org>
Tue, 31 May 2016 20:43:09 +0000 (22:43 +0200)
committerGeorg Baum <baum@lyx.org>
Tue, 31 May 2016 20:43:09 +0000 (22:43 +0200)
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

index 51a1fc9aba40faf5221fe1fced53c4f333a4cb42..980e824d8bd00e4a8013a24589ea62c56f503fbd 100644 (file)
@@ -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
+