mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
c6004a5d3b
These are tracked in src/tools/rustfmt/.gitattributes already, they don't need to be listed twice.
18 lines
464 B
Text
18 lines
464 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 diff=rust
|
|
*.fixed linguist-language=Rust
|
|
*.mir linguist-language=Rust
|
|
src/etc/installer/gfx/* binary
|
|
src/vendor/** -text
|
|
Cargo.lock linguist-generated=false
|
|
config.toml.example linguist-language=TOML
|
|
|
|
# Older git versions try to fix line endings on images and fonts, this prevents it.
|
|
*.png binary
|
|
*.ico binary
|
|
*.woff binary
|
|
*.woff2 binary
|