author | Junio C Hamano <gitster@pobox.com> | |
Wed, 3 Oct 2007 01:00:27 +0000 (18:00 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 3 Nov 2007 00:58:09 +0000 (17:58 -0700) | ||
commit | 459fa6d0fe6a45b8b120463b56a68e943e3a8101 | |
tree | 0ff76965a659fb45c0ec917ffffee0418796fd25 | tree | snapshot |
parent | a9cc857ada7c57069ff00eed8d0addcf55849f39 | commit | diff |
git-diff: complain about >=8 consecutive spaces in initial indent
This introduces a new whitespace error type, "indent-with-non-tab".
The error is about starting a line with 8 or more SP, instead of
indenting it with a HT.
This is not enabled by default, as some projects employ an
indenting policy to use only SPs and no HTs.
The kernel folks and git contributors may want to enable this
detection with:
[core]
whitespace = indent-with-non-tab
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This introduces a new whitespace error type, "indent-with-non-tab".
The error is about starting a line with 8 or more SP, instead of
indenting it with a HT.
This is not enabled by default, as some projects employ an
indenting policy to use only SPs and no HTs.
The kernel folks and git contributors may want to enable this
detection with:
[core]
whitespace = indent-with-non-tab
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | diff | blob | history | |
config.c | diff | blob | history | |
diff.c | diff | blob | history |