-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
72 lines (66 loc) · 2.18 KB
/
Copy path.gitattributes
File metadata and controls
72 lines (66 loc) · 2.18 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Line endings are normalized to LF in the repository regardless of the
# checkout platform. Windows is a first-class CI target here, and a CRLF that
# sneaks into a shell script or a C source file surfaces as a build failure on
# a machine nobody is looking at.
* text=auto eol=lf
# --- Explicitly text, always LF -----------------------------------------
*.c text eol=lf
*.h text eol=lf
*.rs text eol=lf
*.js text eol=lf
*.mjs text eol=lf
*.cjs text eol=lf
*.ts text eol=lf
*.d.ts text eol=lf
*.json text eol=lf
*.toml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.md text eol=lf
*.sh text eol=lf
Makefile text eol=lf
Dockerfile* text eol=lf
# Scripts that only ever run under cmd.exe / PowerShell need CRLF.
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# --- Binary: never diffed, never line-ending-converted -------------------
*.node binary
*.a binary
*.so binary
*.so.* binary
*.dylib binary
*.dll binary
*.lib binary
*.pdb binary
*.o binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.pdf binary
*.tgz binary
*.gz binary
*.zip binary
*.wasm binary
# --- Generated: excluded from diffs and from language statistics ---------
Cargo.lock linguist-generated=true -diff
**/Cargo.lock linguist-generated=true -diff
package-lock.json linguist-generated=true -diff
**/package-lock.json linguist-generated=true -diff
index.d.ts linguist-generated=true
# --- Language detection ---------------------------------------------------
# Without this GitHub reads the C headers as C++ and reports the wrong
# primary language for the repository.
*.h linguist-language=C
docs/** linguist-documentation
tools/benchmarks/** linguist-vendored
tools/examples/** linguist-documentation
# --- Export: keep the source tarball to what actually builds --------------
.github/ export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.editorconfig export-ignore
tools/benchmarks/ export-ignore