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

Re: [PATCH] Grammar fixes for gitattributes documentation

From
Jeff King <peff@peff.net>
Date
Nov 15, 2007, 07:15 UTC
Message-ID
<20071115071558.GE10185@sigill.intra.peff.net>
In-Reply-To
<3461FD6E-1C46-4278-9EB0-5D730BB99084@wincent.com>
On Wed, Nov 14, 2007 at 10:04:25AM +0100, Wincent Colaiuta wrote:
Show 7 quoted lines
>>> +A `filter` attribute can be set to a string value which names a
>>> filter driver specified in the configuration.
>>
>> Will we get the canned "which vs that" discussion on this change?
>
> Perhaps. Neither would be incorrect, although technically "that" is a 
> tighter match.

Really? I would think "which" works better, in that it is not restrictive. I.e., "The filter attribute is set to a string. This string, btw, names a filter driver" (which) rather than "The filter attribute is set to a string, and from the set of strings, it is set to the particular string that names a filter driver" (that).

But in the non-restrictive case, it should be in a parenthetical phrase:
  A `filter` attribute can be set to a string value, which names a
  filter driver specified in the configuration.
I think either is readable, though. :)
-Peff
Previous: Junio C HamanoNext: David Symonds
Message 5 of 7 in “Grammar fixes for gitattributes documentation”
  1. Grammar fixes for gitattributes documentationWincent Colaiuta, Nov 14, 2007
  2. Junio C HamanoNov 14, 2007
  3. Wincent ColaiutaNov 14, 2007
  4. Junio C HamanoNov 14, 2007
  5. Jeff KingNov 15, 2007
  6. David SymondsNov 15, 2007
  7. Jeff KingNov 15, 2007

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.