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

Re: [PATCH] Fix a typo in git-maintenance documentation

From
Derrick Stolee <stolee@gmail.com>
Date
Mar 19, 2021, 18:37 UTC
Message-ID
<8a73d5c2-831c-8e9e-5f21-2f8ef24dfa42@gmail.com>
In-Reply-To
<xmqqv99nm3jy.fsf@gitster.g>
On 3/19/2021 1:55 PM, Junio C Hamano wrote:
Show 7 quoted lines
> "Nils Leif Fischer via GitGitGadget" <gitgitgadget@gmail.com>
>>  gc::
>>  	Clean up unnecessary files and optimize the local repository. "GC"
>> -	stands for "garbage collection," but this task performs many
>> +	stands for "garbage collection", but this task performs many
> 
> Isn't this merely an American style vs British style issue?
Yes, I believe so.
> https://www.grammarly.com/blog/quotation-marks
> https://www.thepunctuationguide.com/british-versus-american-style.html
> https://owl.purdue.edu/owl/general_writing/punctuation/quotation_marks/more_quotation_mark_rules.html
Specifically, this quote from your first link:
  Commas and periods always go inside the quotation marks in
  American English; dashes, colons, and semicolons almost always
  go outside the quotation marks; question marks and exclamation
  marks sometimes go inside, sometimes stay outside.

The only time I break this is when the exact string matters, such as referencing an exact command with options. In those cases, I try to restructure the sentence to avoid having a comma or period outside of the quote.

Thanks, -Stolee

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 5 in “Fix a typo in git-maintenance documentation”
  1. Fix a typo in git-maintenance documentationNils Leif Fischer via GitGitGadget, Mar 19, 2021
  2. Junio C HamanoMar 19, 2021
  3. Derrick StoleeMar 19, 2021
  4. Junio C HamanoMar 19, 2021
  5. Derrick StoleeMar 20, 2021

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.