]> git.ipfire.org Git - thirdparty/git.git/commit - ws.c
attribute: whitespace set to true detects all errors known to git
authorJunio C Hamano <gitster@pobox.com>
Sun, 21 Jun 2009 09:35:18 +0000 (02:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Jun 2009 17:43:10 +0000 (10:43 -0700)
commita437900fd7643408e1d7a130b4a6b81bfd816d4e
treeef558741eb9a38681f554556ea9a9c7e4ca2660a
parente2f6331a14213f01a6e68e71ed63c77323a3e759
attribute: whitespace set to true detects all errors known to git

That is what the documentation says, but the code pretends as if all the
known whitespace error tokens were given.

Among the whitespace error tokens, there is one kind that loosens the rule
when set: cr-at-eol.  Which means that whitespace error token that is set
to true ignores a newly introduced CR at the end, which is inconsistent
with the documentation.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
ws.c