diff options
author | Chris Webb <chris@arachsys.com> | 2010-04-03 00:37:08 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-02 21:08:04 -0700 |
commit | 3e3ec2abe0f275dda285e989224e4c3da19e7adb (patch) | |
tree | e6447c8a837c3ac93204cef99b0eef66214fedc2 /Documentation | |
parent | 727c3718a51605a2b93a7b2ac57e0175decc122a (diff) | |
download | git-3e3ec2abe0f275dda285e989224e4c3da19e7adb.tar.gz |
whitespace: add tab-in-indent error class
Some projects and languages use coding style where no tab character is used to
indent the lines.
This only adds support and documentation for "apply --whitespace=warn" and
"diff --check"; later patches add "apply --whitespace=fix" and tests.
Signed-off-by: Chris Webb <chris@arachsys.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 06b2f827b4..9bb8f3d898 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -481,6 +481,8 @@ core.whitespace:: error (enabled by default). * `indent-with-non-tab` treats a line that is indented with 8 or more space characters as an error (not enabled by default). +* `tab-in-indent` treats a tab character in the initial indent part of + the line as an error (not enabled by default). * `blank-at-eof` treats blank lines added at the end of file as an error (enabled by default). * `trailing-space` is a short-hand to cover both `blank-at-eol` and |