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

Re: [PATCH] fix some doc typos and grammar

From
APAndy Parkins <andyparkins@gmail.com>
Date
Feb 2, 2007, 09:49 UTC
Message-ID
<200702020949.09655.andyparkins@gmail.com>
In-Reply-To
<7vmz3xjbxv.fsf@assigned-by-dhcp.cox.net>
On Friday 2007 February 02 06:44, Junio C Hamano wrote:
> Ah, "which or that", very funny.  At work today I was working
> with somebody you know (AB) on a document, and he was fixing my
> that to which.  Now you are fixing my which to that.

In case anyone is interested; a handy rule of thumb (i.e. it isn't always true, but will hold you in good stead) is that "which" should be preceded by a comma and "that" should not. If you write a sentence that requires the comma, then it's "which"; if it requires not having a comma, then it's "that".

e.g. 

"git is a version control system, which is a piece of software used for tracking changes to files over time"

"git is a version control system that has a fanatical following of users who will kill anyone who asks for rename support"

In the first case the "which" describes what a version control system is. In the second, the "that" describes what git is.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com
Previous: Uwe Kleine-König
Message 6 of 6 in “fix some doc typos and grammar”
  1. fix some doc typos and grammarMike Coleman, Feb 2, 2007
  2. Junio C HamanoFeb 2, 2007
  3. Mike ColemanFeb 2, 2007
  4. Jakub NarebskiFeb 2, 2007
  5. How to configure your MTA [Was: [PATCH] fix some doc typos and grammar]Uwe Kleine-König, Feb 2, 2007
  6. Andy ParkinsFeb 2, 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.