git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] adding merge-node to parent lines in a commit
@ 2005-05-15 21:22 Sean
  2005-05-15 21:30 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Sean @ 2005-05-15 21:22 UTC (permalink / raw)
  To: git

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-15 22:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-15 21:22 [RFC] adding merge-node to parent lines in a commit Sean
2005-05-15 21:30 ` Junio C Hamano
2005-05-15 22:07   ` Sean
2005-05-15 22:36     ` Junio C Hamano
2005-05-15 22:47       ` Sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).