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

Re: [PATCH 2/6] whitespace: add tab-in-indent error class

From
MMMartin Mares <mj@ucw.cz>
Date
Apr 3, 2010, 10:02 UTC
Message-ID
<mj+md-20100403.100104.14382.nikam@ucw.cz>
In-Reply-To
<c2612b53dc7105805a2455a4188667552b1ee606.1270250437.git.chris@arachsys.com>
Hello!
> +	if (rule & WS_TAB_IN_INDENT && rule & WS_INDENT_WITH_NON_TAB)
> +		die("cannot enforce both tab-in-indent and indent-with-non-tab");

Well, it would forbid any indented lines, which could possible make sense for some file formats.

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj@ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"This is an object-oriented system. If we change anything, the users object."
Previous: Chris WebbNext: Chris Webb
Message 4 of 8 in “Add tab-in-indent whitespace rule”
  1. 0/6 Add tab-in-indent whitespace ruleChris Webb, Apr 2, 2010
  2. 1/6 whitespace: we cannot "catch all errors known to git" anymoreChris Webb, Apr 2, 2010
  3. 2/6 whitespace: add tab-in-indent error classChris Webb, Apr 2, 2010
  4. Martin MaresApr 3, 2010
  5. 3/6 whitespace: tests for git-diff --check with tab-in-indent error classChris Webb, Apr 2, 2010
  6. 4/6 whitespace: replumb ws_fix_copy to take a strbuf *dst instead of char *dstChris Webb, Apr 2, 2010
  7. 5/6 whitespace: add tab-in-indent support for --whitespace=fixChris Webb, Apr 2, 2010
  8. 6/6 whitespace: tests for git-apply --whitespace=fix with tab-in-indentChris Webb, Apr 2, 2010

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.