Skip to content

Commit 206e77b

Browse files
committed
git: let git detect binary files, match the standard .gitattributes
- `* text=auto eol=lf` keeps LF for text files and leaves binary files alone; plain `text` would change CRLF bytes in an image added later - Add the benchmarks and tools lines from the standard file; they do nothing until those folders exist
1 parent ab6b5eb commit 206e77b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.gitattributes‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# Set all files to use LF for line endings
2-
* text eol=lf
1+
# LF line endings for every text file; git detects binary files and leaves them alone
2+
* text=auto eol=lf
33

44
# Exclude dev files from Packagist, Composer, and git archives for leaner installs.
55
.editorconfig export-ignore
66
.gitattributes export-ignore
77
.github/** export-ignore
88
.gitignore export-ignore
9+
benchmarks export-ignore
910
docs/** export-ignore
1011
logo.svg export-ignore
1112
phpunit.xml.dist export-ignore
1213
tests export-ignore
14+
tools export-ignore
1315

1416
# Except the AI reference: coding assistants read vendor/itools/smartstring/ locally,
1517
# and this one file teaches them the whole API.

0 commit comments

Comments
 (0)