mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>,
	James Bottomley <James.Bottomley@SteelEye.com>,
	David Woodhouse <dwmw2@infradead.org>
Subject: Re: New SCM and commit list
Date: Sun, 10 Apr 2005 23:15:20 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0504102304050.1267@ppc970.osdl.org> (raw)
In-Reply-To: <425A10EA.7030607@pobox.com>



On Mon, 11 Apr 2005, Jeff Garzik wrote:
> 
> > But I hope that I can get non-conflicting merges done fairly soon, and 
> > maybe I can con James or Jeff or somebody to try out GIT then...
> 
> I don't mind being a guinea pig as long as someone else does the hard 
> work of finding a new way to merge :)

So I can tell you what merges are going to be like, just to prepare you.

First, the good news: I think we can make the workflow look like bk, ie
pretty much like "git pull" and "git push".  And for well-behaved stuff
(ie minimal changes to the same files on both sides) it will even be fast.  
I think.

Then the bad news: the merge algorithm is going to suck. It's going to be
just plain 3-way merge, the same RCS/CVS thing you've seen before. With no
understanding of renames etc. I'll try to find the best parent to base the
merge off of, although early testers may have to tell the piece of crud
what the most recent common parent was.

So anything that got modified in just one tree obviously merges to that 
version. Any file that got modified in two trees will end up just being 
passed to the "merge" program. See "man merge" and "man diff3". The merger 
gets to fix up any conflicts by hand.

Quite frankly, that means that we really want to avoid any "exciting" 
merges with GIT. Maybe somebody can come up with something smarter. 
Eventually. Don't count on it, at least not in the near future.

The good news is that it's not like a three-way file merge is any worse
than many people are used to. The bad news is that BK is just a hell of a
lot better. So anybody who has been depending heavily on BK merges (and
hey, the beauty of them is that you often don't even _know_ that you are
depending on them) will be a bit bummed by the "Welcome back to the
1980's" message from a three-way merge.

		Linus

  reply	other threads:[~2005-04-11  6:13 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-10 23:10 Benjamin Herrenschmidt
2005-04-10 23:26 ` Linus Torvalds
2005-04-11  3:25   ` James Bottomley
2005-04-11 20:53     ` Greg KH
2005-04-11 21:26       ` Linus Torvalds
2005-04-11 21:31         ` James Bottomley
2005-04-12  4:24           ` Arjan van de Ven
2005-04-13 20:04         ` H. Peter Anvin
2005-04-11  5:53   ` Jeff Garzik
2005-04-11  6:15     ` Linus Torvalds [this message]
2005-04-11  6:40       ` Ryan Anderson
2005-04-11  6:47       ` Geert Uytterhoeven
2005-04-11  7:38       ` Ingo Molnar
2005-04-11 12:51         ` Chris Mason
2005-04-11 19:32           ` Chris Mason
2005-04-11 22:50       ` Daniel Barkalow
2005-04-12  8:36         ` Geert Uytterhoeven
2005-04-12  9:52       ` Catalin Marinas
2005-04-16  8:35         ` Paul Jackson
2005-04-18  8:18           ` Catalin Marinas
2005-04-11  7:13 ` David Woodhouse
2005-04-11 18:18 Adam J. Richter
2005-04-12  3:02 Adam J. Richter
2005-04-12 21:54 ` Daniel Barkalow

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=Pine.LNX.4.58.0504102304050.1267@ppc970.osdl.org \
    --to=torvalds@osdl.org \
    --cc=James.Bottomley@SteelEye.com \
    --cc=benh@kernel.crashing.org \
    --cc=dwmw2@infradead.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®