Skip to content

Commit

Permalink
update .gitattributes
Browse files Browse the repository at this point in the history
text=binary doesn't work well for some patches.
  • Loading branch information
Leonid Pliushch committed Aug 27, 2020
1 parent e3c02a7 commit 09a8a85
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .gitattributes
@@ -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
Expand Down

0 comments on commit 09a8a85

Please sign in to comment.