Skip to content

Commit fd2ebf5

Browse files
Garfield-yinclaude
andcommitted
Check text files out with LF on every platform
The Windows runner checks out CRLF by default, so the formatter rejected every source file and the job never reached the tests. Also marks the test documents binary so git can never rewrite bytes the engine inspects. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 211ff03 commit fd2ebf5

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Check every text file out with LF, on every platform. Without this a Windows
2+
# checkout gets CRLF and the formatter rejects the whole tree.
3+
* text=auto eol=lf
4+
5+
# Test documents are inspected byte for byte; never let git rewrite them.
6+
*.pdf binary
7+
*.doc binary
8+
*.docx binary
9+
*.xls binary
10+
*.xlsx binary
11+
*.ppt binary
12+
*.pptx binary
13+
*.key binary
14+
*.numbers binary
15+
*.pages binary

0 commit comments

Comments
 (0)