git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation: indent-with-non-tab uses tabwidth setting, not just 8

From
Wesley J. Landaker <wjl@icecavern.net>
Date
Sep 16, 2012, 17:12 UTC
Message-ID
<1347815548-19305-1-git-send-email-wjl@icecavern.net>
From: "Wesley J. Landaker" <wjl@icecavern.net>

Update the documentation of the core.whitespace option "indent-with-non-tab" to correctly reflect that it uses the currently set tab width, set by the "tabwidth" option, rather than a fixed number.

Signed-off-by: Wesley J. Landaker <wjl@icecavern.net>
---
 Documentation/config.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 6416cae..113a196 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -559,8 +559,8 @@ core.whitespace::
 * `space-before-tab` treats a space character that appears immediately
   before a tab character in the initial indent part of the line as an
   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).
+* `indent-with-non-tab` treats a line that is indented with `tabwidth` space
+  characters or more 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
-- 
1.7.10.4
Next: Junio C Hamano
Message 1 of 7 in “Documentation: indent-with-non-tab uses tabwidth setting, not just 8”
  1. Documentation: indent-with-non-tab uses tabwidth setting, not just 8Wesley J. Landaker, Sep 16, 2012
  2. Junio C HamanoSep 17, 2012
  3. Wesley J. LandakerSep 17, 2012
  4. Junio C HamanoSep 17, 2012
  5. Wesley J. LandakerSep 17, 2012
  6. Documentation: indent-with-non-tab uses "equivalent tabs" not 8Wesley J. Landaker, Sep 17, 2012
  7. Junio C HamanoSep 17, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.