Mark .bat files as requiring CR/LF endings
Just like the natural line ending for Unix shell scripts consist of a single Line Feed, the natural line ending for (DOS) Batch scripts consists of a Carriage Return followed by a Line Feed. It seems that both Unix shell script interpreters and the interpreter for Batch scripts (`cmd.exe`) are keen on seeing the "right" line endings. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Schindelin committed
Jun 19, 2019 at 14:05 UTC
a5bdf9fdf1f6fe566f206097df321f28fe1593e3
1 file changed
+1
.gitattributes
+1
@@ -5,6 +5,7 @@
5
*.pl eof=lf diff=perl
6
*.pm eol=lf diff=perl
7
*.py eol=lf diff=python
8
+*.bat eol=crlf
9
/Documentation/**/*.txt eol=lf
10
/command-list.txt eol=lf
11
/GIT-VERSION-GEN eol=lf