public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox•com>
To: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail•com>
Cc: "Rune Philosof" <rp@abtion•com>,  git@vger•kernel.org
Subject: Re: Feature Request: Add comments to commits
Date: Wed, 27 Aug 2025 09:53:48 -0700	[thread overview]
Message-ID: <xmqqwm6o1zab.fsf@gitster.g> (raw)
In-Reply-To: <a0c393df-a23c-49e0-8985-4748e1769a62@app.fastmail.com> (Kristoffer Haugsbakk's message of "Wed, 27 Aug 2025 12:32:56 +0200")

"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>]".

  reply	other threads:[~2025-08-27 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-27 10:29 Feature Request: Add comments to commits Rune Philosof
2025-08-27 10:32 ` Kristoffer Haugsbakk
2025-08-27 16:53   ` Junio C Hamano [this message]
2025-08-27 20:25     ` Kristoffer Haugsbakk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqwm6o1zab.fsf@gitster.g \
    --to=gitster@pobox$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=kristofferhaugsbakk@fastmail$(echo .)com \
    --cc=rp@abtion$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox