author | Junio C Hamano <gitster@pobox.com> | |
Sun, 21 Jun 2009 09:35:18 +0000 (02:35 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 21 Jun 2009 17:43:10 +0000 (10:43 -0700) | ||
commit | a437900fd7643408e1d7a130b4a6b81bfd816d4e | |
tree | ef558741eb9a38681f554556ea9a9c7e4ca2660a | tree | snapshot |
parent | e2f6331a14213f01a6e68e71ed63c77323a3e759 | commit | diff |
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>
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 | diff | blob | history |