Re: [PATCH] [RFD] Add repoid identifier to commit
- From
Sean <seanlkml@sympatico.ca>
- Date
- May 12, 2005, 09:32 UTC
- Message-ID
- <1895.10.10.10.24.1115890333.squirrel@linux1>
- In-Reply-To
- <1115884637.22180.277.camel@tglx>
On Thu, May 12, 2005 3:57 am, Thomas Gleixner said:
Show 13 quoted lines
> On Wed, 2005-05-11 at 18:46 -0700, Junio C Hamano wrote: >> >>>>> "TG" == Thomas Gleixner <tglx@linutronix.de> writes: >> So I am having a hard time understanding what problem repo-id >> solves. > > Rn o > > \ > Rn-1 o | > > o Mn > > o Mn-1 > Rn-2 o / > Rn-3 o >
[snip]
All you forgot was to explain how repo-id helps one iota. And if you're up to it, explain how it would help sort out the following, where Xn is a fast forward head:
Rn o
> \
Rn-1 o |
> o Mn
> o Mn-1
Rn-2 o /
Xn oAnd what about sorting out branches created by a single developer in a single repository? doh! Sounds like a solution that addresses all these should be worked out instead of repoid. You really are barking up the wrong tree here.
Just because rev-tree may get it wrong, doesn't mean every other tool does. Actually, I just ran your above scenario through git, and here is what cg-log shows, which seems perfectly acceptable:
commit 19de0d5cd9269f0869fecb0b866efa12ef882a11
parent 490ae38bcbf70fe19bcc0c1a28d1fa301620a2d5
parent 71890fc6b9e3da470623dbbf3dc492b937757a37
Merge with ../test2/.git
Rncommit 490ae38bcbf70fe19bcc0c1a28d1fa301620a2d5
parent b96d60d7b632a188f4550762f8a1a99f8b381c9b
Rn-1commit b96d60d7b632a188f4550762f8a1a99f8b381c9b
parent 0dbe9da9b565bb695d464532470734c6f4676951
Rn-2commit 71890fc6b9e3da470623dbbf3dc492b937757a37
parent 81dbf4bac14c3caeadfa084d57ad78544e69d6d8
Mncommit 81dbf4bac14c3caeadfa084d57ad78544e69d6d8
parent 0dbe9da9b565bb695d464532470734c6f4676951
Mn-1commit 0dbe9da9b565bb695d464532470734c6f4676951
parent 221a1474b35d700fd67895cb6206d04fc17b083a
Rn-3In fact, please see attached .png image that shows how the nice gitk tool from Paul Mackerras displays it exactly as you request WITHOUT Repo-id.
* Please * explain what problem you are trying to solve and how repoid will solve it.
Sean