From: Junio C Hamano Date: Wed, 04 Jun 2008 00:33:36 GMT Subject: Re: Octopus merge: unique (?) to git, but is it useful? Message-ID: <7vbq2i11jz.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20080603231151.GR29404@genesis.frugalware.org> Miklos Vajna writes: > On Tue, Jun 03, 2008 at 07:40:21AM -0700, Linus Torvalds wrote: >> Right. But git shouldn't do duplicate parents. I agree it's a mis-use of >> git merge, but either we should have errored out or we should have pruned >> the parents. >> >> Yes, the end result is "tecnically correct", but it's not optimal. > > I think the current git-merge.sh already handles this: 6ea23343 > introduced the usage of git-show-branch --independent to filter out > duplicated parents. Good eyes. I guess I was sloppy when I wrote the log message for that one and failed to talk about the bugfix ;-).