aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-10-15 19:26:50 +0300
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-10-16 06:58:47 -0700
commit9e968e91c00aa71a754e7fde5d6044a86b13eb82 (patch)
tree311c4107d34b62973af44847fe925fc61609c1d6 /.gitattributes
parentaca2f7ed97fcec2604d1fc0e7106df7edd462aee (diff)
downloadmeson-9e968e91c00aa71a754e7fde5d6044a86b13eb82.zip
meson-9e968e91c00aa71a754e7fde5d6044a86b13eb82.tar.gz
meson-9e968e91c00aa71a754e7fde5d6044a86b13eb82.tar.bz2
Use .gitattributes to override autocrlf=true
Avoid platform eol normalization as check_format() in project_tests checks for unix-style line endings. Indicate .png files are binary so we don't try to normalize them on check-in.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index de2f316..a85dd10 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,4 @@
.gitignore export-ignore
.gitattributes export-ignore
+* text eol=lf
+*.png binary