summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: 958b0b9f28745552d827636bec2d22846c9696fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# These files are text and should be normalized (convert crlf => lf)
*.c       text
*.check   text
*.css     text
*.html    text
*.java    text
*.js      text
*.sbt     text
*.scala   text
*.sh      text
*.txt     text
*.xml     text

# Windows-specific files get windows endings
*.bat     eol=crlf
*.cmd     eol=crlf
*-windows.tmpl eol=crlf

# Some binary file types for completeness
# (binary is a macro for -text -diff)
*.dll     binary
*.gif     binary
*.jpg     binary
*.png     binary
*.class   -text diff=class
*.jar     -text diff=jar