aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorGravatar ByteCommander <[email protected]>2019-10-08 15:37:21 +0200
committerGravatar ByteCommander <[email protected]>2019-10-08 15:41:03 +0200
commit7136018c73028142193c00c19ddf69ea3d602d5a (patch)
tree48ef776b375dc725bf52a9e04b5e6eaec45b1c37 /.gitattributes
parentdisable usage of pyuwsgi on windows due to incompatibility, library is only u... (diff)
Add favicons; workaround for gitattributes
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes10
1 files changed, 9 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes
index a90a0a96..e9e08359 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,11 @@
# Declare files that will always have LF line endings on checkout
# This prevents git on Windows from automatically inserting CRLF line endings
-* text=auto eol=lf \ No newline at end of file
+* text=auto eol=lf
+
+# Specifically declare known binary files to avoid problems with Git versions
+# before 2.10, where the 'eol' setting has higher priority than 'text=auto',
+# causing binary files to get normalized and corrupted otherwise.
+# See e.g. https://stackoverflow.com/a/38588882/4464570
+*.png binary
+*.whl binary
+