diff options
author | Johan Lorensson <lateralusx.github@gmail.com> | 2020-01-13 17:01:41 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2020-01-13 17:01:41 +0300 |
commit | 407898621e4e1072771a1ddbe38350ea4784a86a (patch) | |
tree | 791ab4ebf0664baf6e420f1c2a934476f7afdf15 /.gitattributes | |
parent | 49c510120018a1e4e1a3b0123627cd005ce5b44e (diff) |
Make sure .bat and .cmd files have crlf in wd. (#18437)
Looks like https://github.com/mono/mono/commit/c9dc20f59ebe7fbed2a439d69c2d03a2d4500577 broke Windows build for some scenarios using .bat files. Fix makes sure we convert .bat and .cmd files to use crlf in wd.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitattributes b/.gitattributes index 463a7bb5e60..f5897c9df9c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -20,8 +20,10 @@ m4/mono-output.m4 crlf=input *.sln crlf *.*proj* crlf +*.bat text eol=crlf +*.cmd text eol=crlf + # don't do anything to line-endings. Let CRLFs/LFs go into the repo, and CRLF/LFs on checkout -*.bat -crlf *.xml -crlf # CRLF Handling |