Skip to content

Commit 645b7c2

Browse files
committed
ignore images line ending on older git versions
On Ubuntu 16.04 git 2.7.4 tries to fix the line ending of .png and .ico files, and obviously it ruins them. This commit adds an attribute to those files to properly mark them as binary.
1 parent 6bba352 commit 645b7c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ src/etc/installer/gfx/* binary
99
*.woff binary
1010
src/vendor/** -text
1111
Cargo.lock -merge linguist-generated=false
12+
13+
# Older git versions try to fix line endings on images, this prevents it.
14+
*.png binary
15+
*.ico binary

0 commit comments

Comments
 (0)