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.
* text eol=lf
# Patches.
*.diff text=binary
*.patch text=binary
*.patch32 text=binary
*.patch64 text=binary
*.patch.* text=binary
# Treat patch files as binaries but let diff'ing them
# as normal text.
*.diff binary diff
*.patch binary diff
*.patch32 binary diff
*.patch64 binary diff
*.patch.* binary diff
# Powershell scripts.
*.ps1 text eol=crlf