Skip to content

Commit 140c111

Browse files
committed
chore: add .gitattributes to preserve mixed line endings
1 parent cd14707 commit 140c111

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Disable automatic line ending conversion
2+
# This repository has mixed line endings (CRLF and LF) and we want to preserve them as-is
3+
* -text
4+
5+
# Binary files (explicit, for clarity)
6+
*.png binary
7+
*.jpg binary
8+
*.jpeg binary
9+
*.gif binary
10+
*.ico binary
11+
*.woff binary
12+
*.woff2 binary
13+
*.ttf binary
14+
*.eot binary

0 commit comments

Comments
 (0)