Repository navigation
Expand file tree
/
Copy path.gitattributes
More file actions
56 lines (52 loc) · 1.86 KB
/
Copy path.gitattributes
File metadata and controls
56 lines (52 loc) · 1.86 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
# Normalise line endings to LF everywhere.
#
# Without this, Git for Windows checks out CRLF (core.autocrlf defaults to true
# there, including on GitHub's windows-latest runners), while biome.json sets
# "lineEnding": "lf". The result is that `pnpm lint` fails on *every* text file
# on Windows — not a few, all of them — which made the Windows CI job
# unpassable and therefore blocked any Windows release.
#
# `text=auto` lets Git detect text vs binary; `eol=lf` forces LF in the working
# tree on every platform. Files are stored as LF in the repository either way,
# so this changes nothing for existing Linux and macOS checkouts.
* text=auto eol=lf
# Files that must keep CRLF to work on Windows.
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Binary — never subject to EOL conversion. `text=auto` detects most of these,
# but being explicit avoids a mis-detected file being silently corrupted on
# checkout, which is a miserable thing to diagnose.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.icns binary
*.webp binary
*.avif binary
*.pdf binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.wasm binary
*.so binary
*.dylib binary
*.dll binary
*.exe binary
*.zip binary
*.gz binary
*.tgz binary
*.AppImage binary
*.deb binary
*.rpm binary
*.dmg binary
# ONNX models are committed directly (small bundled models) or downloaded
# at runtime (large models from release assets / upstream URLs). No Git
# LFS dependency — the free-tier budget was exhausted by the 980 MB
# ddcolor source, and Release assets have no bandwidth quota.
# Generated lockfiles: collapsed in diffs and excluded from language stats,
# without being hidden from review.
pnpm-lock.yaml linguist-generated=true
Cargo.lock linguist-generated=true