Browse Source

chore: force patches to be checked out with LF line endings (#14789)

Jeremy Apthorp 6 years ago
parent
commit
442f05dfe7
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .gitattributes

+ 3 - 0
.gitattributes

@@ -0,0 +1,3 @@
+# `git apply` and friends don't understand CRLF, even on windows. Force those
+# files to be checked out with LF endings even if core.autocrlf is true.
+*.patch text eol=lf