Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 23 additions & 14 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
* text eol=lf
# All files are text with LF line endings and UTF-8 encoding by default
* text eol=lf encoding=utf-8

*.[jJ][aA][rR] binary
# .bat, .cmd, .ps1, and .csv use CRLF line endings
*.[bB][aA][tT] text eol=crlf encoding=utf-8
*.[cC][mM][dD] text eol=crlf encoding=utf-8
*.[cC][sS][vV] text eol=crlf encoding=utf-8
*.[pP][sS]1 text eol=crlf encoding=utf-8

# Image formats are binary
*.[pP][nN][gG] binary
*.[jJ][pP][gG] binary
*.[jJ][pP][eE][gG] binary
*.[gG][iI][fF] binary
*.[tT][iI][fF] binary
*.[tT][iI][fF][fF] binary
*.[iI][cC][oO] binary
*.[sS][vV][gG] text
*.[eE][pP][sS] binary
*.[xX][cC][fF] binary
*.[pP][sS][dD] binary

# Audio files are binary
*.[kK][aA][rR] binary
*.[mM]4[aA] binary
*.[mM][iI][dD] binary
Expand All @@ -21,24 +28,26 @@
*.[oO][gG][gG] binary
*.[rR][aA] binary

# Archive files are binary
*.7[zZ] binary
*.[gG][zZ] binary
*.[tT][aA][rR] binary
*.[tT][gG][zZ] binary
*.[zZ][iI][pP] binary

*.[tT][cC][nN] binary
*.[sS][oO] binary
*.[dD][lL][lL] binary
*.[dD][yY][lL][iI][bB] binary
*.[pP][sS][dD] binary
# Font files are binary
*.[tT][tT][fF] binary
*.[oO][tT][fF] binary
*.[eE][oO][tT] binary
*.[wW][oO][fF][fF] binary
*.[wW][oO][fF][fF]2 binary

*.[pP][aA][tT][cC][hH] -text

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this supposed to get removed?

@glektarssza glektarssza Jul 9, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nikolay-Sitnikov

Yes it was as .patch files are normally text files. Why they were having the text Git attribute stripped from them is unclear and likely a mistake.

If there's a reason to keep this line I'm happy to add it back in.


*.[bB][aA][tT] text eol=crlf
*.[cC][mM][dD] text eol=crlf
*.[pP][sS]1 text eol=crlf
# Model formats are binary
*.[tT][cC][nN] binary

*[aA][uU][tT][oO][gG][eE][nN][eE][rR][aA][tT][eE][dD]* binary
# Library files are binary
*.[sS][oO] binary
*.[dD][lL][lL] binary
*.[pP][dD][bB] binary
*.[dD][yY][lL][iI][bB] binary
*.[jJ][aA][rR] binary