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

Re: [PATCH] .gitattributes: remove misspelled no-op whitespace attribute

From
Jeff King <peff@peff.net>
Date
Nov 11, 2025, 21:39 UTC
Message-ID
<20251111213910.GB4053071@coredump.intra.peff.net>
In-Reply-To
<xmqqv7jgwgxb.fsf@gitster.g>
On Tue, Nov 11, 2025 at 10:41:20AM -0800, Junio C Hamano wrote:
Show 10 quoted lines
> We could either remove "!indent", or spell it "-indent".  The
> immediate effect would be the same.  It would only start to make a
> difference when/if we enable indent-with-non-tab by default in
> future versions of Git.
> 
> Let's take the former option to remove "!indent" from the list.  We
> would feel the effect first-hand ourselves before anybody else if we
> ever decide to change the built-in default whitespace rules, which
> would be hidden from us if we decide to rewrite it to "-indent"
> instead.
Perfectly explained, and the result makes sense.

I don't know that this patch particularly needed review, but maybe it is nice for you to know that somebody really is out there reading them. ;)

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 3 in “.gitattributes: remove misspelled no-op whitespace attribute”
  1. .gitattributes: remove misspelled no-op whitespace attributeJunio C Hamano, Nov 11, 2025
  2. Jeff KingNov 11, 2025
  3. Junio C HamanoNov 11, 2025

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.