mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
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.
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
|