-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
52 lines (45 loc) · 1.65 KB
/
Copy path.gitattributes
File metadata and controls
52 lines (45 loc) · 1.65 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
# Fusebase Flow — line-ending hardening
# Force LF for files that must round-trip through shells, Python, YAML loaders,
# and JSON parsers across platforms. Without this, Windows clones may rewrite
# CRLF on checkout and break shebang detection in shell hooks.
* text=auto
# Shell + Python (executable; LF mandatory)
*.sh text eol=lf
*.bash text eol=lf
*.py text eol=lf
# Tripwire: vendored CLI hooks (.claude/hooks/*.js) are LF and sha256-manifest-matched;
# without this pin, Windows autocrlf clones emit 2 spurious advisory CLI_SNAPSHOT_STALE.
*.js text eol=lf
# Config / data formats
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf
*.jsonl text eol=lf
*.toml text eol=lf
*.ini text eol=lf
# Documentation (LF for diff stability across platforms)
*.md text eol=lf
*.mdc text eol=lf
*.txt text eol=lf
# Git internals (LF mandatory)
.gitignore text eol=lf
.gitattributes text eol=lf
.gitkeep text eol=lf
# Extensionless files that MUST be LF (read by shells / parsed byte-exact).
# U11 (v3.24.x): VERSION had no explicit pin — a Windows clone could rewrite it
# CRLF on checkout, and `tr -d '\n\r'` masks it at read time but the file churns
# in git diff. Pin it (and the no-extension hook scripts) to LF explicitly.
VERSION text eol=lf
hooks/git/pre-commit text eol=lf
hooks/git/commit-msg text eol=lf
hooks/git/pre-push text eol=lf
# Binary classes — never line-ending-normalize
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary
*.tar binary