summaryrefslogtreecommitdiff
path: root/t/t0026-eol-config.sh
AgeCommit message (Collapse)AuthorFilesLines
2010-06-06Add "core.eol" config variableLibravatar Eyvind Bernhardsen1-0/+83
Introduce a new configuration variable, "core.eol", that allows the user to set which line endings to use for end-of-line-normalized files in the working directory. It defaults to "native", which means CRLF on Windows and LF everywhere else. Note that "core.autocrlf" overrides core.eol. This means that [core] autocrlf = true puts CRLFs in the working directory even if core.eol is set to "lf". Signed-off-by: Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>