Re: [darcs-devel] Darcs and git: plan of action
- From
David Roundy <droundy@abridgegame.org>
- Date
- Apr 20, 2005, 11:18 UTC
- Message-ID
- <20050420111847.GF29945@abridgegame.org>
- In-Reply-To
- <20050419122518.GD12757@pasky.ji.cz>
On Tue, Apr 19, 2005 at 02:25:18PM +0200, Petr Baudis wrote:
Show 11 quoted lines
> Dear diary, on Tue, Apr 19, 2005 at 02:20:55PM CEST, I got a letter > where Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr> told me that... > > > The problem is that there is no sequence of alien versions that one > > > can differentiate. Git has a branched history, with each version > > > that follows a merge having multiple parents. > > > > Yep. I've just realised that this morning. Is there some notion of > > ``primary parent'' as in Arch? Can a changeset have 0 parents? > > Yes, the root commit. Usually, there is only one, but there may be > multiple of them theoretically.
Incidentally (and completely off-topic for this thread), wouldn't there be a sha1 tree hash corresponding to a completely empty directory, and couldn't one use that as the parent for the root? Would there be any reason to do so? Just a silly thought...
-- David Roundy http://www.darcs.net