| author | Eyvind Bernhardsen <eyvind.bernhardsen@gmail.com> | |
| Fri, 4 Jun 2010 19:29:08 +0000 (21:29 +0200) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Mon, 7 Jun 2010 04:20:04 +0000 (21:20 -0700) | ||
| commit | 942e7747678ecf5f118ea5b2d0c763166de21f3a | |
| tree | 0e5f1e1e72682b183831d0ee76485b6b09e0df41 | tree | snapshot |
| parent | 5ec3e67052289217c84e53d2cda90d939ac5725b | commit | 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>
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>
| Documentation/config.txt | diff | blob | history | |
| Documentation/gitattributes.txt | diff | blob | history | |
| Makefile | diff | blob | history | |
| cache.h | diff | blob | history | |
| config.c | diff | blob | history | |
| convert.c | diff | blob | history | |
| environment.c | diff | blob | history | |
| t/t0026-eol-config.sh | [new file with mode: 0755] | blob |