ALL: Force CRLF line-endings for Windows .bat files

Subtle parsing problems with labels can happen if Windows batch files
are checked out with Unix LF line-endings.
This commit is contained in:
Donovan Watteau 2022-10-21 15:10:48 +02:00 committed by Filippos Karapetis
parent 3ba1d5c313
commit e557a339a9
2 changed files with 4 additions and 0 deletions

View file

@ -6,5 +6,8 @@ insert_final_newline = true
vc_generate_documentation_comments = doxygen_slash_star
end_of_line = lf
[*.bat]
end_of_line = crlf
[*.lingo]
charset = macroman

1
.gitattributes vendored
View file

@ -1,6 +1,7 @@
/po/*.po encoding=utf-8
*.lingo encoding=MacRoman
/engines.awk eol=lf
*.bat text eol=crlf
*.cpp text eol=lf
*.h text eol=lf
*.hpp text eol=lf