Files
leleka/.gitattributes
T

30 lines
1.7 KiB
Plaintext

# Rust sources under crates/ and the GPU bring-up scripts are LF in the repository.
# text=auto leaves files that already carry CRLF in the index untouched (no mass renormalization)
# and skips binary-looking files; it only stops CRLF from entering LF files at commit time.
crates/**/*.rs text=auto eol=lf
scripts/gpu-bringup/**/*.py text=auto eol=lf
# Codex lossy-delta study: task files are hashed byte for byte (no EOL conversion); the runner scripts are LF.
scripts/e2e/codex/tasks/** -text
scripts/e2e/codex/delta/** text eol=lf
# Release reproducibility: the sealed PTX files are pinned by SHA-256 in the sources, so the bytes in the
# working tree must be the bytes in the index on every platform. Without this line a Windows checkout with core.autocrlf=true turns 212 of the
# 273 .ptx files into CRLF (the other 61 end in a NUL byte, which git treats as binary) so the embedded PTX is not the sealed one (a CRLF checkout built a binary 9 MB smaller than every earlier one).
*.ptx -text
# The release packager and the files it copies into the tarball are POSIX shell and systemd text: LF everywhere.
scripts/release/** text eol=lf
deploy/rust-runtime/** text eol=lf
# The embedded expert profile is pinned by SHA-256 in the sources: the bytes in the working tree must be the bytes in the index on every platform.
crates/deploy/data/expert-profile.bin -text binary
# CI entry points run on Linux runners: LF whatever the checkout host's autocrlf says.
scripts/ci/** text eol=lf
scripts/check-local.sh text eol=lf
scripts/check-clippy-limits.sh text eol=lf
scripts/check-ci-coverage.py text eol=lf
scripts/install-pinned-rustup.sh text eol=lf
scripts/test-cuda-fixed-ptx.sh text eol=lf
.github/workflows/*.yml text eol=lf