645b7c2c36
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.
15 lines
364 B
Text
15 lines
364 B
Text
[attr]rust text eol=lf whitespace=tab-in-indent,trailing-space,tabwidth=4
|
|
|
|
* text=auto eol=lf
|
|
*.cpp rust
|
|
*.h rust
|
|
*.rs rust
|
|
*.fixed linguist-language=Rust
|
|
src/etc/installer/gfx/* binary
|
|
*.woff binary
|
|
src/vendor/** -text
|
|
Cargo.lock -merge linguist-generated=false
|
|
|
|
# Older git versions try to fix line endings on images, this prevents it.
|
|
*.png binary
|
|
*.ico binary
|