commit | 942e7747678ecf5f118ea5b2d0c763166de21f3a | [log] [tgz] |
---|---|---|
author | Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com> | Fri Jun 04 21:29:08 2010 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Jun 06 21:20:04 2010 -0700 |
tree | 0e5f1e1e72682b183831d0ee76485b6b09e0df41 | |
parent | 5ec3e67052289217c84e53d2cda90d939ac5725b [diff] |
Add "core.eol" config variable 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>