commit 1191052a91d56aebd10afdfc7f717543d81042da
Author: Georg Baum <b...@lyx.org>
Date:   Sat Jun 4 19:22:36 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
new file mode 100644
index 0000000..3f62c34
--- /dev/null
+++ b/.gitattributes
@@ -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
+

Reply via email to