-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
29 lines (25 loc) · 1.23 KB
/
Copy path.gitattributes
File metadata and controls
29 lines (25 loc) · 1.23 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
# Line-ending policy for cross-platform consistency.
#
# This repo is edited from Windows (Git Bash), macOS, and Linux — sometimes
# against the same checkout over a network share. All text files are stored
# with LF in the repository (`* text=auto` lets git normalize on commit), so
# the same tree is byte-identical no matter which platform committed it.
# Set `core.autocrlf=false` on every clone so working trees stay LF too;
# modern Windows editors and Git Bash handle LF files fine.
* text=auto
# Shell scripts are executed by bash on every supported platform — Git Bash on
# Windows, WSL, macOS, and Linux. CRLF endings break the shebang line and
# heredoc parsing, so .sh files are always stored and checked out with LF.
*.sh text eol=lf
# JSON/YAML fixtures are hashed by the eval cache and byte-compared by
# determinism tests — keep them LF on disk everywhere.
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.md text eol=lf
# The frozen benchmark banned-token list is byte-compared by the leak gate —
# keep plain-text protocol files LF everywhere too.
*.txt text eol=lf
# Archived eval pages are checksum-verified on every platform.
benchmarks/site/public/*.html text eol=lf
benchmarks/site/public/**/*.html text eol=lf