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

[RFC] adding merge-node to parent lines in a commit

From
Sean <seanlkml@sympatico.ca>
Date
May 15, 2005, 21:22 UTC
Message-ID
<1282.10.10.10.24.1116192147.squirrel@linux1>

Just a random thought presented for flamage... Would adding the merge node to each "parent" line in merge nodes be workable?

parent  SHA1-PARENT  SHA1-MERGE-NODE

It's not exactly clear cut I guess, especially in the case of multi-parent merges, but it would make descending the history slightly easier. It would let you look at any merge, and know exactly which commits were associated with that merge, without needing any repo-id or time information. This information is needed at the time of merge anyway, so recording it rather than leaving it to be calculated later makes some sense. Comments?

Cheers, Sean

Next: Junio C Hamano
Message 1 of 5 in “[RFC] adding merge-node to parent lines in a commit”
  1. SeanMay 15, 2005
  2. Junio C HamanoMay 15, 2005
  3. SeanMay 15, 2005
  4. Junio C HamanoMay 15, 2005
  5. SeanMay 15, 2005

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.