update .gitattributes

text=binary doesn't work well for some patches.
This commit is contained in:
Leonid Pliushch 2020-08-27 21:40:58 +03:00
parent f32aa69c86
commit 9f5ceba75e
1 changed files with 7 additions and 6 deletions

13
.gitattributes vendored
View File

@ -1,12 +1,13 @@
# Default. # Default.
* text eol=lf * text eol=lf
# Patches. # Treat patch files as binaries but let diff'ing them
*.diff text=binary # as normal text.
*.patch text=binary *.diff binary diff
*.patch32 text=binary *.patch binary diff
*.patch64 text=binary *.patch32 binary diff
*.patch.* text=binary *.patch64 binary diff
*.patch.* binary diff
# Powershell scripts. # Powershell scripts.
*.ps1 text eol=crlf *.ps1 text eol=crlf