git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <junkio@cox.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: "Martin Langhoff (CatalystIT)" <martin@catalyst.net.nz>,
	git@vger.kernel.org
Subject: Re: LCA2006 Git/Cogito tutorial
Date: Sun, 23 Oct 2005 18:48:03 -0700	[thread overview]
Message-ID: <7vy84jsn1o.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0510231804430.10477@g5.osdl.org> (Linus Torvalds's message of "Sun, 23 Oct 2005 18:35:43 -0700 (PDT)")

Linus Torvalds <torvalds@osdl.org> writes:

> On Sun, 23 Oct 2005, Junio C Hamano wrote:
>> 
>> Even if we did that, we are still doing 3-way merge; git-merge
>> framework may not mesh very well when we want to use something
>> like codeville merge which is not based on 3-way.
>
> Oh, the git merge is about a million times better than any silly weave 
> merge with extra BonusPoints and MagicCapitalizedNames.
>
> Why? Because if you want to be slow and careful, you can always just 
> create the weave after-the-fact and do a weave merge.

Yes, I know that as the one who did the convention between
git-merge and merge strategy backends.  The convention feeds two
(or more) heads and the common ancestors git-merge already
figured out to the strategy backends.

The current callers only feed commits for "$heads" parameters,
so the merge strategy backends are free to figure out the common
ancestor or even generate weave on the fly, but an unwritten
rule was that strategy backends are expected to do something
sensible even when the "common ancestors" and "heads" fed to
them are tree objects, which was my comment about 3-way was
about.

  reply	other threads:[~2005-10-24  1:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-17  0:48 LCA2006 Git/Cogito tutorial Martin Langhoff (CatalystIT)
2005-10-21  0:51 ` Petr Baudis
2005-10-21  2:37   ` Dmitry Torokhov
2005-10-21  2:59     ` Martin Langhoff (CatalystIT)
2005-10-21  9:15       ` Petr Baudis
2005-10-23 15:35         ` Horst von Brand
2005-10-23 22:39           ` Petr Baudis
2005-10-24  8:32         ` Fredrik Kuivinen
2005-10-23 15:33       ` Horst von Brand
2005-10-23 22:40         ` Petr Baudis
2005-10-24  0:22           ` Horst von Brand
2005-10-24  6:25           ` Martin Langhoff
2005-10-24  0:58       ` Junio C Hamano
2005-10-24  1:35         ` Linus Torvalds
2005-10-24  1:48           ` Junio C Hamano [this message]
2005-10-24  3:32             ` Linus Torvalds
2005-10-24  7:54           ` Petr Baudis
2005-10-24  9:44             ` Junio C Hamano
2005-10-24 15:04             ` Linus Torvalds
2005-10-21  3:02   ` Martin Langhoff (CatalystIT)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vy84jsn1o.fsf@assigned-by-dhcp.cox.net \
    --to=junkio@cox.net \
    --cc=git@vger.kernel.org \
    --cc=martin@catalyst.net.nz \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).