]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Add "core.eol" config variable
authorEyvind Bernhardsen <eyvind.bernhardsen@gmail.com>
Fri, 4 Jun 2010 19:29:08 +0000 (21:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jun 2010 04:20:04 +0000 (21:20 -0700)
commit942e7747678ecf5f118ea5b2d0c763166de21f3a
tree0e5f1e1e72682b183831d0ee76485b6b09e0df41
parent5ec3e67052289217c84e53d2cda90d939ac5725b
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>
Documentation/config.txt
Documentation/gitattributes.txt
Makefile
cache.h
config.c
convert.c
environment.c
t/t0026-eol-config.sh [new file with mode: 0755]