Skip to content

Commit 2ce4fee

Browse files
wjlgitster
authored andcommitted
Documentation: indent-with-non-tab uses "equivalent tabs" not 8
Update the documentation of the core.whitespace option "indent-with-non-tab" to correctly reflect that it catches the use of spaces instead of the equivalent tabs, rather than a fixed number. Signed-off-by: Wesley J. Landaker <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7dd9ab0 commit 2ce4fee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/config.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -559,8 +559,9 @@ core.whitespace::
559559
* `space-before-tab` treats a space character that appears immediately
560560
before a tab character in the initial indent part of the line as an
561561
error (enabled by default).
562-
* `indent-with-non-tab` treats a line that is indented with 8 or more
563-
space characters as an error (not enabled by default).
562+
* `indent-with-non-tab` treats a line that is indented with space
563+
characters instead of the equivalent tabs as an error (not enabled by
564+
default).
564565
* `tab-in-indent` treats a tab character in the initial indent part of
565566
the line as an error (not enabled by default).
566567
* `blank-at-eof` treats blank lines added at the end of file as an error

0 commit comments

Comments
 (0)