forked from scala/scala
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
39 lines (34 loc) · 925 Bytes
/
.gitattributes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
# fallback on built-in heuristics
# this must be first so later entries will override it
* text=auto
# check out text files with lf, not crlf, on Windows. (especially
# important for Scala source files, since """ preserves line endings)
text eol=lf
# These files are text and should be normalized (convert crlf => lf)
*.c eol=lf
*.check eol=lf
*.css eol=lf
*.flags eol=lf
*.html eol=lf
*.java eol=lf
*.js eol=lf
*.policy eol=lf
*.sbt eol=lf
*.scala eol=lf
*.sh eol=lf
*.txt eol=lf
*.xml eol=lf
# Some sbt launcher scripts can't handle CR in .jvmopts
.jvmopts eol=lf
# 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