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

Re: Commit annotations (editable commit messages)

From
Mark Lodato <lodatom@gmail.com>
Date
Feb 13, 2010, 01:01 UTC
Message-ID
<ca433831002121701u7c4e47ddn2f8bc19c45b2bd03@mail.gmail.com>
In-Reply-To
<op.u71e00v4m02fvl@cybershadow.mshome.net>
2010/2/12 Vladimir Panteleev <thecybershadow@gmail.com>:
Show 5 quoted lines
>> It sounds like you want to read about a new feature called git-notes:
>> http://www.kernel.org/pub/software/scm/git/docs/git-notes.html
>
> Wow, thanks! Looks like I'm behind the times. (Currently stuck with
> msysGit/1.6.5)
Yes, what you described sounds *exactly* like git-notes :)
> The documentation looks pretty scant. Does anyone know how close were my
> suggestions to the actual implemented behavior (esp. regarding rebasing)?

1, 2, 3, and 4 are all implemented, as far as I know. However, I don't think notes copy during a rebase. My gut feeling is that you probably shouldn't be rebasing so much that this is an issue. I'm guessing that you should copy the note to the new commit ID after the rebase.

I have also found the documentation lacking. It helped a bit to see the history. It's pretty compact in the logs. Here are two commands to isolate the commits:

git log --reverse fed8a7de3592~..df27f6280545 gitk fed8a7de3592..df27f6280545

-- Mark

Previous: Vladimir PanteleevNext: Johan Herland
Message 4 of 5 in “Commit annotations (editable commit messages)”
  1. Vladimir PanteleevFeb 12, 2010
  2. Avery PennarunFeb 12, 2010
  3. Vladimir PanteleevFeb 12, 2010
  4. Mark LodatoFeb 13, 2010
  5. Johan HerlandFeb 13, 2010

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.