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

Re: [PATCH] gitk: add "Hightlight commit name" menu entry

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 25, 2024, 18:56 UTC
Message-ID
<xmqq34sekunr.fsf@gitster.g>
In-Reply-To
<742ac151-74cd-46f8-8dfb-3dcdaa513314@xiplink.com>
Marc Branchaud <marcnarc@xiplink.com> writes:
> (BTW, on this list we pronounce "the name of the commit" as "the
> commit subject (line)".)

Yup. "subject" probably comes from the fact that the title (the first paragraph, folded into a single line) of the commit is used on the "Subject:" header when formatted for e-mail submission, and also 's' in "git log --pretty='%s'" is described as "subject" in the documentation. Other words I've seen used are "commit title" and "oneline description", but "subject" would be the most common, I suspect.

"commit name" on the other hand brings a different concept, i.e., "the commit object name", more strongly to readers' minds, and can be mistaken as what you'd get in "git log --pretty='%H'".

Previous: Marc Branchaud
Message 6 of 6 in “gitk: add "Hightlight commit name" menu entry”
  1. gitk: add "Hightlight commit name" menu entryRaphael Gallais-Pou, Jan 30, 2024
  2. Raphaël Gallais-PouMar 19, 2024
  3. Marc BranchaudMar 21, 2024
  4. Raphaël Gallais-PouMar 23, 2024
  5. Marc BranchaudMar 25, 2024
  6. Junio C HamanoMar 25, 2024

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.