]> git.lyx.org Git - features.git/commitdiff
Force native line endings for .po files
authorGeorg Baum <baum@lyx.org>
Sat, 4 Jun 2016 17:22:36 +0000 (19:22 +0200)
committerGeorg Baum <baum@lyx.org>
Sat, 4 Jun 2016 17:24:15 +0000 (19:24 +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 [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..3f62c34
--- /dev/null
@@ -0,0 +1,6 @@
+# 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
+