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

Re: [PATCH] Grammar fixes for gitattributes documentation

From
David Symonds <dsymonds@gmail.com>
Date
Nov 15, 2007, 07:20 UTC
Message-ID
<ee77f5c20711142320x1a070b21xf00f0853fe09e34c@mail.gmail.com>
In-Reply-To
<20071115071558.GE10185@sigill.intra.peff.net>
On Nov 15, 2007 6:15 PM, Jeff King <peff@peff.net> wrote:
Show 15 quoted lines
> On Wed, Nov 14, 2007 at 10:04:25AM +0100, Wincent Colaiuta wrote:
>
> >>> +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).

"that" should be used to introduce restrictive clauses (as you point out), and this use should be a restrictive clause, since you can't set the attribute to just any value--you need to set it to the value *that* names the desired filter driver.

Dave. ... writing a thesis, so has grammar on the brain.

Previous: Jeff KingNext: Jeff King
Message 6 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.