-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.gitattributes
More file actions
63 lines (56 loc) · 2.2 KB
/
Copy path.gitattributes
File metadata and controls
63 lines (56 loc) · 2.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
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
# Default: auto-detect text, normalize to LF in the repo and on checkout.
# Unix-only services + Mac/Linux dev — LF everywhere unless overridden below.
* text=auto eol=lf
# --- Windows-only files: keep CRLF on checkout ---
# Visual Studio / .NET / Windows tooling rewrites these on save if the file
# is LF-only, so we explicitly mark them.
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.psm1 text eol=crlf
*.sln text eol=crlf
*.vcxproj text eol=crlf
*.vcxproj.filters text eol=crlf
*.wapproj text eol=crlf
*.appxmanifest text eol=crlf
*.props text eol=crlf
*.targets text eol=crlf
# Entire Windows mobile target (catches NuGet.config, .gitignore, etc.)
sandbox/archive/clauderon/mobile/windows/** text eol=crlf
sandbox/archive/clauderon/mobile/NuGet.config text eol=crlf
# --- Test fixtures: preserve byte-for-byte (real-world capture) ---
packages/webring/src/testdata/rss-*.xml -text
# --- Third-party source patches: preserve byte-for-byte ---
# These diffs are applied verbatim with `patch -p1` against pinned upstream
# tarballs; some upstream sources use CRLF line endings, which the patch
# content must reproduce exactly or `patch` fails to match context lines.
# Line-ending normalization would silently corrupt them.
packages/homelab/src/cdk8s/patches/** -text
# --- Generated test snapshots: keep out of GitHub language stats / diff noise ---
**/__snapshots__/** linguist-generated=true
*.snap linguist-generated=true
# --- Binary files (carried over from previous .gitattributes) ---
*.data binary
*.wasm binary
*.mp4 binary
*.zip binary
*.db binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.tar.gz binary
*.7z binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.otf binary
*.pdf binary
*.bin binary
# --- Out-of-scope trees: preserve as-committed, never normalize ---
# Both are read-only / frozen per CLAUDE.md. Place LAST so they override
# every preceding pattern (gitattributes uses last-match-wins precedence).
sandbox/archive/** -text
sandbox/practice/** -text