Re: Octopus merge: unique (?) to git, but is it useful?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 4, 2008, 00:33 UTC
- Message-ID
- <7vbq2i11jz.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080603231151.GR29404@genesis.frugalware.org>
Miklos Vajna <vmiklos@frugalware.org> writes:
Show 10 quoted lines
> On Tue, Jun 03, 2008 at 07:40:21AM -0700, Linus Torvalds <torvalds@linux-foundation.org> 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 ;-).