summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: d29c15fe712f301a375385e3ad9d624937721371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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

# Older git versions try to fix line endings on images and fonts, this prevents it.
*.png binary
*.ico binary
*.woff binary
*.woff2 binary