1
0
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:
Nick Brook 2019-11-08 23:32:15 +00:00 committed by Richie Bendall
parent b5454117ab
commit 0bfe1e5741

View File

@ -68,6 +68,9 @@
*.tar binary
*.zip binary
# Text files where line endings should be preserved
*.patch -text
#
# Exclude files from exporting
#