From: "Sverre Hvammen Johansen" <hvammen@gmail.com>
To: git@vger.kernel.org
Subject: Re: [RFC/PATCH] Fast forward strategies only, common, fork and path
Date: Sun, 3 Feb 2008 22:51:30 -0800 [thread overview]
Message-ID: <402c10cd0802032251y626f373eke66c35b200ccf5b1@mail.gmail.com> (raw)
In-Reply-To: <402c10cd0802031654r3e0275a8s1d2163af9525e7d2@mail.gmail.com>
On Feb 3, 2008 4:54 PM, Sverre Hvammen Johansen <hvammen@gmail.com> wrote:
> This patch also uses the real heads found instead of those
> specified for real merges. This means that merge startegies
> that only take two heads can now accept more than two heads
> if they can be reduced down to only two real heads. However,
> fast-forward of head in combination with a real merge is
> handled as before.
I intend to also submit a patch that does fast forward in combination
with a real merge. This means that some case can be reduced down to
only two real parents and we can select a twohead strategy instead of
an octopus strategy. In cases where we have at least three real
parents there is no point in doing this. We only need to specify the
fast forwarded head right after head to allow git-merge-octopus to do
its best.
I need some advise how to implement fast-forward in combination with a
real merge. I know how to do this with an update of the directory
tree and the index with the fast forward before the real merge is
done. But, how canweI do this without updating the directory tree
with the fast forward? Or is it OK to always update the directory
with the intermediate state we get from the fast forward?
> --
> Sverre Hvammen Johansen
>
--
Sverre Hvammen Johansen
next prev parent reply other threads:[~2008-02-04 6:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-04 0:54 [RFC/PATCH] Fast forward strategies only, common, fork and path Sverre Hvammen Johansen
2008-02-04 4:49 ` Stefan (metze) Metzmacher
2008-02-04 6:51 ` Sverre Hvammen Johansen [this message]
2008-02-04 7:24 ` Junio C Hamano
2008-02-04 8:06 ` Sverre Hvammen Johansen
2008-02-04 8:22 ` Junio C Hamano
2008-02-05 7:32 ` Sverre Hvammen Johansen
2008-02-05 9:34 ` Jakub Narebski
2008-02-05 9:40 ` Junio C Hamano
2008-02-06 3:46 ` Sverre Hvammen Johansen
2008-02-04 7:13 ` Sverre Hvammen Johansen
2008-02-04 7:31 ` Junio C Hamano
2008-02-04 7:43 ` Sverre Hvammen Johansen
2008-02-04 7:19 ` Sverre Hvammen Johansen
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=402c10cd0802032251y626f373eke66c35b200ccf5b1@mail.gmail.com \
--to=hvammen@gmail.com \
--cc=git@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;
as well as URLs for NNTP newsgroup(s).