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

Git Notes - Track rebase/etc + reverse-lookup for bugs ideas

From
Thomas Harning <harningt@gmail.com>
Date
Nov 10, 2008, 17:37 UTC
Message-ID
<6A0F154C-B9FE-4770-BF70-82A5BEBF907C@gmail.com>

Just wondering, has there been any looking into whether the git-notes concept can track rebases?

Reading over what git-notes is leads me to think it could be a good mechanism for the distributed bug-tracking idea I had some time ago. The only gotcha I see is that there would have to be some reverse mapping / fast lookup to track the commit objects that given notes are attached to.... and to facilitate individual assignment... notes applied to notes.

Example structure:

Commits A B C D Notes BUG Notes nA nC == bug notes

A <- nA
|\
B C <- nC
|/
D

nA <- BUG nB <- BUG

Operations for bug-tracking:
1) List all 'BUG'-type items that would refer to individual notes
2) List 'BUG' items reachable from a point
    Perhaps with criterion that a certain 'bug note' attribute is not  
set...
    or that a 'BUG_CLOSED' note is not attached to the given 'bug note'

... this seems to be somewhat of an extreme abuse of the notes system... but I could imagine it may have uses outside...

Next: Jeff King
Message 1 of 10 in “Git Notes - Track rebase/etc + reverse-lookup for bugs ideas”
  1. Thomas HarningNov 10, 2008
  2. Jeff KingNov 10, 2008
  3. Johannes SchindelinNov 10, 2008
  4. Jeff KingNov 10, 2008
  5. Johan HerlandNov 10, 2008
  6. Miklos VajnaNov 10, 2008
  7. Johan HerlandNov 10, 2008
  8. Johannes SchindelinNov 10, 2008
  9. Thomas HarningNov 10, 2008
  10. Jeff KingNov 11, 2008

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.