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

Re: Does anyone use git-notes?

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 25, 2010, 22:42 UTC
Message-ID
<7vhbiipb5z.fsf@alter.siamese.dyndns.org>
In-Reply-To
<AANLkTin=VXp2BU0vhTLUy6MpJ7spXRs1dZC1wygoN6T-@mail.gmail.com>
Scott Chacon <schacon@gmail.com> writes:
Show 6 quoted lines
> I would like to write a post on how to use them, but I'm a bit
> confused as to how people actually use them on a day to day basis.  I
> appears to me in trying to work out a flow for them that the lack of
> an ability to merge them makes them very difficult to use for anything
> practical.  Can someone share with me how they use them and what the
> cycle is?

I have a custom post-applypatch hook (see my "todo" branch) enabled and then use the amlook script (again, see my "todo" branch) script to inspect the corresponding notes tree.

After applying a received patch e-mail, the result is annotated with enough information to identify which message it came from by the hook. When I am scouring the mailing list backlog to see if I have missed something interesting (sometimes I find interest in a topic that I thought totally uninteresting earlier), the amlook script is used to see if the patch has been already applied.

Looking through millions of notes this way won't scale (iow, amlook is a bad example of using this feature, as the notes tree is used as a database index in the wrong direction), by the way, so you may probably not want to use it as a good example.

Previous: Thomas RastNext: Junio C Hamano
Message 4 of 9 in “Does anyone use git-notes?”
  1. Scott ChaconAug 25, 2010
  2. Joshua JensenAug 25, 2010
  3. Thomas RastAug 25, 2010
  4. Junio C HamanoAug 25, 2010
  5. Junio C HamanoAug 25, 2010
  6. Tor ArntsenAug 26, 2010
  7. Michael J GruberAug 26, 2010
  8. Will PalmerAug 26, 2010
  9. Jon SeymourAug 26, 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.