mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
chore: normalize line endings to LF via .gitattributes
Add `* text=auto eol=lf` so text files are checked in with LF regardless of the contributor's OS. Without this, Windows editors can save files with CRLF (and sometimes a UTF-8 BOM), which makes every line differ at the byte level on diff and trips GitHub's "Binary file not shown" heuristic — see #840 for an example where a ~30-line change was unreviewable for this reason. Existing LFS rules already carry `-text` and remain unaffected. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# Normalize text files to LF on checkout and in the repo, regardless of the
|
||||
# contributor's OS. Without this, files saved on Windows can land in PRs with
|
||||
# CRLF endings or a UTF-8 BOM, which makes every line differ at the byte level
|
||||
# and trips GitHub's "Binary file not shown" diff heuristic.
|
||||
* text=auto eol=lf
|
||||
|
||||
# Golden baseline videos for regression tests
|
||||
packages/producer/tests/*/output/output.mp4 filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
|
||||
Reference in New Issue
Block a user