-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
32 lines (30 loc) · 1.2 KB
/
Copy path.gitattributes
File metadata and controls
32 lines (30 loc) · 1.2 KB
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
# Normalise text to LF so the per-file sha256 anchors in manifest.json are
# reproducible on any checkout (Windows autocrlf would otherwise change file
# bytes and break `sha256sum <file>` verification).
#
# Catch-all first, so files with no extension or an unlisted one are covered too:
# LICENSE and NOTICE carry no extension, and go.mod, go.sum, Cargo.lock, *.csproj,
# Program.cs, requirements.txt and the SVG badges matched no rule, so all of them
# were rewritten by core.autocrlf on a Windows checkout and no longer hashed to
# their committed bytes. `text=auto` lets git detect and leave binary content
# alone; the explicit rules below still win, since the last matching line applies.
* text=auto eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf
*.py text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf
*.js text eol=lf
# Cross-engine runner sources and their fixture corpora. corpus.tsv in particular is
# parsed field-by-field by every engine, so a stray CR would ride along in the final
# column and change the bytes under test.
*.tsv text eol=lf
*.go text eol=lf
*.rs text eol=lf
*.java text eol=lf
*.php text eol=lf
*.rb text eol=lf
*.toml text eol=lf
*.kt text eol=lf
*.exs text eol=lf