Code

whitespace: we cannot "catch all errors known to git" anymore
authorJunio C Hamano <gitster@pobox.com>
Fri, 2 Apr 2010 23:37:00 +0000 (00:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 3 Apr 2010 04:07:44 +0000 (21:07 -0700)
commit727c3718a51605a2b93a7b2ac57e0175decc122a
tree90bd971a8683c4846fbbc38e7a03c57168c0d240
parent87b3c0117a340df61bdbac6794611c74696bd42a
whitespace: we cannot "catch all errors known to git" anymore

Traditionally, "*.txt whitespace" in .gitattributes file has been an
instruction to catch _all_ classes of whitespace errors known to git.

This has to change, however, in order to introduce "tab-in-indent" which
is inherently incompatible with "indent-with-non-tab".  As we do not want
to break configuration of existing users, add a mechanism to allow marking
selected rules to be excluded from "all rules known to git".

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