git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Sverre Hvammen Johansen" <hvammen@gmail.com>
To: git@vger.kernel.org
Subject: Re: Merging using only fast-forward
Date: Sun, 20 Jan 2008 22:26:33 -0800	[thread overview]
Message-ID: <402c10cd0801202226y5bf3e00duf8ae190c6a751ee3@mail.gmail.com> (raw)
In-Reply-To: <7vzlv2858y.fsf@gitster.siamese.dyndns.org>

On Jan 19, 2008 2:43 AM, Junio C Hamano <gitster@pobox.com> wrote:
> At one end of the spectrum, we have these crazy people who want
> git to record something that is not a merge at all as a merge
> with --no-ff.  At the other end of the spectrum, we have these
> other crazy people who want git to outsmart them by allowing
> them to throw random set of commits as potential parents,
> remove duplicates and figure out how many real parents the
> resulting merge should have (including the case that it may not
> even have any).

I am currently working on a patch for this.  I have some new tests for
this but more is needed and there is no documentation.

The only case that currently is not working is the case where I need
to fast forward head and then do a merge.  Do I need to update the
files in the working directory twice (once after the fast forward and
then once by the merge) or can I somehow get lets say
git-merge-recursive to do this part for me?

The patch I have that handles the above failing case by not fast
forwarding HEAD, but instead use it together with the other real_heads
work (all tests succeed).

-- 
Sverre Hvammen Johansen

      parent reply	other threads:[~2008-01-21  6:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-16 15:54 Merging using only fast-forward Sverre Hvammen Johansen
2008-01-16 16:27 ` Randal L. Schwartz
2008-01-16 20:31   ` Junio C Hamano
2008-01-16 22:38     ` Sverre Hvammen Johansen
2008-01-16 22:49       ` Junio C Hamano
2008-01-17  6:53     ` Sverre Hvammen Johansen
2008-01-18  6:58       ` Sverre Hvammen Johansen
2008-01-18 21:25         ` Junio C Hamano
2008-01-19 10:28           ` Sverre Hvammen Johansen
2008-01-19 10:38             ` Sverre Hvammen Johansen
2008-01-19 10:43             ` Junio C Hamano
     [not found]               ` <402c10cd0801190427o62493073s408959aa5701ca86@mail.gmail.com>
2008-01-19 12:30                 ` Sverre Hvammen Johansen
2008-01-19 12:58                   ` Please don't reply to this thread Sverre Hvammen Johansen
2008-01-19 12:39               ` Merging using only fast-forward Sverre Hvammen Johansen
2008-01-21  6:26               ` Sverre Hvammen Johansen [this message]

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=402c10cd0801202226y5bf3e00duf8ae190c6a751ee3@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).