Skip to content

Commit 4adcc98

Browse files
committed
chore(repo): pin LF line endings via .gitattributes
Prevents accidental CRLF rewrites of the entire tree on Windows checkouts or by editors that flip endings on save. Anvil is a Linux-first Rust crate with no Windows-native scripts, so a single LF policy keeps diffs free of phantom whole-tree churn.
1 parent a23b39d commit 4adcc98

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Normalize all text files to LF in the repo and on checkout.
2+
# Anvil is a Linux-first Rust crate with no Windows-native scripts,
3+
# so a single line-ending policy keeps diffs clean across platforms.
4+
* text=auto eol=lf

0 commit comments

Comments
 (0)