mirror of
https://github.com/gitattributes/gitattributes.git
synced 2025-01-22 00:08:52 -05:00
feat: Preserve line endings in patch files (#102)
I believe this is the correct attribute for patch files, where line endings can be mixed – the patch statements use LF, but the patch contents can be CRLF or LF
This commit is contained in:
parent
b5454117ab
commit
0bfe1e5741
@ -68,6 +68,9 @@
|
||||
*.tar binary
|
||||
*.zip binary
|
||||
|
||||
# Text files where line endings should be preserved
|
||||
*.patch -text
|
||||
|
||||
#
|
||||
# Exclude files from exporting
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user