]> git.ipfire.org Git - thirdparty/git.git/commit - .gitattributes
Mark .bat files as requiring CR/LF endings
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 19 Jun 2019 21:05:57 +0000 (14:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 21:03:05 +0000 (14:03 -0700)
commita5bdf9fdf1f6fe566f206097df321f28fe1593e3
treeb8706a038a80b2b3dd6ed27a81048751ffd72a1b
parent6a1ce2ed3a70171e57c65413b3e75f3a5959eb6f
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>
.gitattributes