Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: [PATCH] Grammar fixes for gitattributes documentation

From: Jeff King <hidden>
Date: 2016-06-15 22:43:51

On Wed, Nov 14, 2007 at 10:04:25AM +0100, Wincent Colaiuta wrote:
quoted
quoted
+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help