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

Re: [PATCH] Introduce light weight commit annotations

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 11, 2007, 07:43 UTC
Message-ID
<7vbqfnrl54.fsf@assigned-by-dhcp.pobox.com>
In-Reply-To
<81b0412b0706110024mf975011t27b23555f6a23cc6@mail.gmail.com>
"Alex Riesen" <raa.lkml@gmail.com> writes:
> It is still a reference, really. Besides, if it is not under refs/, we'd
> have to change fetch/push to allow distribution of the notes/annotations
> (there are special assumptions regarding reference names starting
> with "refs/"). Right now it just works.
Two issues.

One is that it is unclear is how the reachability rules should be. Should an ??/?{38} entry in the refs/annotations/commits protects the commit the entry talks about (i.e. ???{38}) from getting pruned?

Another is how different kinds of annotations on the same commit should be managed. Should different commits and their histories pointed at by refs/annotations/{frotz,xyzzy,...} be used for that? Or perhaps we should make ??/?{38} a tree that has multiple files underneath it?

Previous: Alex RiesenNext: Alex Riesen
Message 16 of 18 in “Introduce light weight commit annotations”
  1. Introduce light weight commit annotationsJohannes Schindelin, Jun 9, 2007
  2. Johan HerlandJun 10, 2007
  3. Johannes SchindelinJun 10, 2007
  4. Johan HerlandJun 10, 2007
  5. Johannes SchindelinJun 10, 2007
  6. Junio C HamanoJun 10, 2007
  7. Johannes SchindelinJun 10, 2007
  8. Junio C HamanoJun 10, 2007
  9. Johannes SchindelinJun 11, 2007
  10. Johannes SchindelinJun 12, 2007
  11. Alex RiesenJun 10, 2007
  12. Alex RiesenJun 10, 2007
  13. Junio C HamanoJun 11, 2007
  14. Nicolas PitreJun 11, 2007
  15. Alex RiesenJun 11, 2007
  16. Junio C HamanoJun 11, 2007
  17. Alex RiesenJun 11, 2007
  18. Johannes SchindelinJun 11, 2007

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.