]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
core.whitespace: cr-at-eol
authorJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2008 08:59:05 +0000 (00:59 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Feb 2008 08:38:41 +0000 (00:38 -0800)
commitb2979ff599a6bcf9dbf5e2ef1e32b81a1b88e115
treeb828718fd340db7f6a704caa04aa05b815a18092
parentc1beba5b479a39143ebef96ba10103bbd9a70089
core.whitespace: cr-at-eol

This new error mode allows a line to have a carriage return at the
end of the line when checking and fixing trailing whitespace errors.

Some people like to keep CRLF line ending recorded in the repository,
and still want to take advantage of the automated trailing whitespace
stripping.  We still show ^M in the diff output piped to "less" to
remind them that they do have the CR at the end, but these carriage
return characters at the end are no longer flagged as errors.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
builtin-apply.c
cache.h
t/t4019-diff-wserror.sh
ws.c