From: Holger Freyther <zecke@selfish.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: SCM scorecards
Date: Thu, 27 Mar 2008 03:26:14 +0100 [thread overview]
Message-ID: <200803270326.15080.zecke@selfish.org> (raw)
In-Reply-To: <200803270150.46085.mickey@vanille-media.de>
On Thursday 27 March 2008 01:50:46 Michael 'Mickey' Lauer wrote:
> Let me add up on that and slightly change:
> > Ease of Branch Merging Git 4 Monotone 3
>
> Holger?
That is probably me?
Merging: As Linus pointed out branching is not the problem, merging is:
1.) mtn and git are equally good in doing conflict free merges
2.) merges with conflicts:
Both git and mtn allow you to use kdiff3, meld.. to do the merge.
Git is changing files in the workdir but this doesn't matter as you
resolve the conflict with git-mergetool anyway.
Git has the concept of the index, which is really cool and makes
things easy. You can set the file state to anything you want during
the merge and once you are happy continue.
Also git is a content tracker, so if I got this right. If I have the same
bb file (content hash the same, path the same) in two branches mtn
would go to NCC and refuse to work, git will not have a merge conflict at
all.
3.) Things related to merging:
git-reset HEAD^1 to undo your merge if you didn't like the result (in cases
where you know you made an accident and disapprove makes little sense)
git-cherry-pick to pick a change and then pull/rebase without getting a NCC
conflict.
git-rebase to change your patchset after some of the patches have been merged
upstream (effectively what Openmoko is doing on OE).
with git there is little more I could ask for, with mtn I have two unmergable
things right now. git-rebase is the best thing since sliced bread. So it is
either a 5:3 or 4:2.
PS: I talk about recent versions of git, with git-mergetool and such...
PPS: I recognize that mtn has served us well, the pace of development is IMHO
just too slow.
next prev parent reply other threads:[~2008-03-27 12:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 0:32 SCM scorecards Graeme Gregory
2008-03-27 0:50 ` Michael 'Mickey' Lauer
2008-03-27 1:01 ` Graeme Gregory
2008-03-27 2:11 ` Holger Freyther
2008-03-27 13:40 ` Mark Brown
2008-03-27 1:16 ` Rod Whitby
2008-03-27 2:26 ` Holger Freyther [this message]
2008-03-27 2:49 ` Holger Freyther
2008-03-27 16:01 ` Koen Kooi
2008-03-27 16:50 ` Holger Freyther
2008-03-27 16:15 ` Graeme Gregory
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=200803270326.15080.zecke@selfish.org \
--to=zecke@selfish.org \
--cc=openembedded-devel@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.