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

Re: Feature Request: Add comments to commits

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Aug 27, 2025, 20:25 UTC
Message-ID
<dc0651fb-4059-41a7-817a-a68c8736ec70@app.fastmail.com>
In-Reply-To
<xmqqwm6o1zab.fsf@gitster.g>
On Wed, Aug 27, 2025, at 18:53, Junio C Hamano wrote:
Show 14 quoted lines
> "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
>
>> On Wed, Aug 27, 2025, at 12:29, Rune Philosof wrote:
>>> Git commit messages quality is very important when you investigate your history.
>>> Often it would be useful to be able to attach comments to commits
>>> messages for instance to add forgotten information.
>>> Those comments should be shown when `git show`ing a commit.
>>> Could be implemented as commits that use a new field to link to the
>>> commit they should be shown with, along with some index to make it
>>> performant.
>>
>> git-notes(1)
>
> ... together with "git log --notes[=<ref>]".
I think that’s covered well enough by the man page. ;)
-- 
Kristoffer Haugsbakk
Previous: Junio C Hamano
Message 4 of 4 in “Feature Request: Add comments to commits”
  1. Rune PhilosofAug 27, 2025
  2. Kristoffer HaugsbakkAug 27, 2025
  3. Junio C HamanoAug 27, 2025
  4. Kristoffer HaugsbakkAug 27, 2025

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.