Merge branch 'main' of /home/tlakollo/Consolidation/linker
[platform/upstream/dotnet/runtime.git] / .gitattributes
1 # Set default behavior to automatically normalize line endings.
2 * text=auto
3
4 *.doc  diff=astextplain
5 *.DOC   diff=astextplain
6 *.docx  diff=astextplain
7 *.DOCX  diff=astextplain
8 *.dot   diff=astextplain
9 *.DOT   diff=astextplain
10 *.pdf   diff=astextplain
11 *.PDF   diff=astextplain
12 *.rtf   diff=astextplain
13 *.RTF   diff=astextplain
14
15 *.jpg   binary
16 *.png   binary
17 *.gif   binary
18
19 # Force bash scripts to always use lf line endings so that if a repo is accessed
20 # in Unix via a file share from Windows, the scripts will work.
21 *.in text eol=lf
22 *.sh text eol=lf
23
24 # Likewise, force cmd and batch scripts to always use crlf
25 *.cmd text eol=crlf
26 *.bat text eol=crlf
27
28 *.cs text=auto diff=csharp
29 *.vb text=auto
30 *.resx text=auto
31 *.c text=auto
32 *.cpp text=auto
33 *.cxx text=auto
34 *.h text=auto
35 *.hxx text=auto
36 *.py text=auto
37 *.rb text=auto
38 *.java text=auto
39 *.html text=auto
40 *.htm text=auto
41 *.css text=auto
42 *.scss text=auto
43 *.sass text=auto
44 *.less text=auto
45 *.js text=auto
46 *.lisp text=auto
47 *.clj text=auto
48 *.sql text=auto
49 *.php text=auto
50 *.lua text=auto
51 *.m text=auto
52 *.asm text=auto
53 *.erl text=auto
54 *.fs text=auto
55 *.fsx text=auto
56 *.hs text=auto
57
58 *.csproj text=auto
59 *.vbproj text=auto
60 *.fsproj text=auto
61 *.dbproj text=auto
62 *.sln text=auto eol=crlf
63
64 # Set linguist language for .h files explicitly based on
65 # https://github.com/github/linguist/issues/1626#issuecomment-401442069
66 # this only affects the repo's language statistics
67 *.h linguist-language=C
68
69 # CLR specific
70 src/coreclr/pal/tests/palsuite/paltestlist.txt text eol=lf
71 src/coreclr/pal/tests/palsuite/paltestlist_to_be_reviewed.txt text eol=lf
72 src/tests/JIT/Performance/CodeQuality/BenchmarksGame/regex-redux/regexdna-input25.txt text eol=lf
73 src/tests/JIT/Performance/CodeQuality/BenchmarksGame/regex-redux/regexdna-input25000.txt text eol=lf
74 src/tests/JIT/Performance/CodeQuality/BenchmarksGame/reverse-complement/revcomp-input25.txt text eol=lf
75 src/tests/JIT/Performance/CodeQuality/BenchmarksGame/reverse-complement/revcomp-input25000.txt text eol=lf
76 src/tests/JIT/Performance/CodeQuality/BenchmarksGame/k-nucleotide/knucleotide-input.txt text eol=lf
77 src/tests/JIT/Performance/CodeQuality/BenchmarksGame/k-nucleotide/knucleotide-input-big.txt text eol=lf
78 src/mono/wasm/runtime/dotnet.d.ts text eol=lf
79 src/mono/wasm/runtime/dotnet-legacy.d.ts text eol=lf