Skip to content

Commit 4078986

Browse files
lateralusXakoeplinger
authored andcommitted
Make sure .bat and .cmd files have crlf in wd. (mono#18437)
Looks like mono@c9dc20f broke Windows build for some scenarios using .bat files. Fix makes sure we convert .bat and .cmd files to use crlf in wd.
1 parent 49c5101 commit 4078986

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitattributes

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ m4/mono-output.m4 crlf=input
2020
*.sln crlf
2121
*.*proj* crlf
2222

23+
*.bat text eol=crlf
24+
*.cmd text eol=crlf
25+
2326
# don't do anything to line-endings. Let CRLFs/LFs go into the repo, and CRLF/LFs on checkout
24-
*.bat -crlf
2527
*.xml -crlf
2628

2729
# CRLF Handling

0 commit comments

Comments
 (0)