author | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Jan 2008 08:59:05 +0000 (00:59 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 5 Feb 2008 08:38:41 +0000 (00:38 -0800) | ||
commit | b2979ff599a6bcf9dbf5e2ef1e32b81a1b88e115 | |
tree | b828718fd340db7f6a704caa04aa05b815a18092 | tree | snapshot |
parent | c1beba5b479a39143ebef96ba10103bbd9a70089 | commit | diff |
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>
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 | diff | blob | history | |
builtin-apply.c | diff | blob | history | |
cache.h | diff | blob | history | |
t/t4019-diff-wserror.sh | diff | blob | history | |
ws.c | diff | blob | history |