mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
![Pietro Albini](/assets/img/avatar_default.png)
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.
16 lines
364 B
Plaintext
16 lines
364 B
Plaintext
[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
|