-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
31 lines (28 loc) · 916 Bytes
/
Copy path.gitattributes
File metadata and controls
31 lines (28 loc) · 916 Bytes
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
# Let Git detect text vs binary by default, rather than relying on the
# extension list below being exhaustive. Without this, a NUL-free binary
# (such as the small placeholder PDFs in examples/) is classified as text
# and corrupted by line-ending conversion on checkout.
* text=auto
# Binary assets — never line-ending converted, whatever the heuristic decides
*.pdf binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.zip binary
*.woff binary
*.woff2 binary
*.docx binary
*.xlsx binary
# LegalDown sources and docs — normalize to LF (spec §2.1 prefers LF)
*.lgd text eol=lf
*.legaldown text eol=lf
*.legal.md text eol=lf
*.md text eol=lf
# Fixture data and tooling — LF too, so the corpus is byte-stable across platforms
*.json text eol=lf
*.py text eol=lf
*.txt text eol=lf
*.yaml text eol=lf
*.yml text eol=lf