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

Re: Feature Request: Add comments to commits

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 27, 2025, 16:53 UTC
Message-ID
<xmqqwm6o1zab.fsf@gitster.g>
In-Reply-To
<a0c393df-a23c-49e0-8985-4748e1769a62@app.fastmail.com>
"Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes:
Show 10 quoted lines
> 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>]".
Previous: Kristoffer HaugsbakkNext: Kristoffer Haugsbakk
Message 3 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.