Skip to content

Commit 1aac4b2

Browse files
author
Tim Hutt
committed
Don't convert patch file line endings to LF
Patch on windows requires CRLF. This should leave them unchanged.
1 parent d3c7778 commit 1aac4b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ windows/INSTALL* eol=native
1515
windows/NewGuidCmd.exe.config text eol=crlf
1616
windows/NewGuidCmd.exe binary
1717

18+
# Prevent git changing CR-LF to LF when archiving (patch requires CR-LF on Windows).
19+
*.patch -text
1820

0 commit comments

Comments
 (0)