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

Extra pair of double quotes in "git commit" output?

From
Nanako Shiraishi <nanako3@lavabit.com>
Date
Nov 25, 2008, 21:49 UTC
Message-ID
<20081126064906.6117@nanako3.lavabit.com>
While I think the way recent "git commit" displays the commit you just created is very helpful, I often find the double quotes around the message unnecessary and sometimes even confusing.  I just made a commit and saw this message:
    [master]: created d9a5491: "Show "standard deviation" column in table 3"
The colon after the shortened commit SHA1 is enough to signal that it will talk about a different piece of information on the rest of the line.  I think the extra double quotes can be dropped safely:
    [master]: created d9a5491: Show "standard deviation" column in table 3
and it will make the output shorter by two columns, more pretty, and does not lose the clarity.
-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
Next: Junio C Hamano
Message 1 of 7 in “Extra pair of double quotes in "git commit" output?”
  1. Nanako ShiraishiNov 25, 2008
  2. Junio C HamanoNov 25, 2008
  3. Jeff KingNov 25, 2008
  4. Santi BéjarNov 26, 2008
  5. Jeff KingNov 26, 2008
  6. Jakub NarebskiNov 26, 2008
  7. David BrownNov 26, 2008

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.