From: "Alex Riesen" <raa.lkml@gmail.com>
To: "Michael Dressel" <MichaelTiloDressel@t-online.de>
Cc: git@vger.kernel.org
Subject: Re: git merge --no-commit <branch>; does commit
Date: Thu, 13 Dec 2007 22:23:21 +0100 [thread overview]
Message-ID: <81b0412b0712131323p7cbba402hbfe8105eb356bdc2@mail.gmail.com> (raw)
In-Reply-To: <81b0412b0712131319h63609810m593f0e552d02a83c@mail.gmail.com>
On 13/12/2007, Alex Riesen <raa.lkml@gmail.com> wrote:
> On 13/12/2007, Michael Dressel <MichaelTiloDressel@t-online.de> wrote:
> > git merge --no-commit <branch> does "create" a commit. At lesat the
> > head and index are moved to the new commit fetched from <branch>. Maybe
> > that is because git was able to do a fast forward?
>
> Yes. Because fast-forward is what it called: fast-forward.
> It does not do any commits at all.
>
If you have a very recent git, you can avoid fast-forward when merging
by running with --no-ff. It has it's problems in general case, so it is not
default (see the git ml archive for "fast-forward does not commit").
next prev parent reply other threads:[~2007-12-13 21:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-13 21:01 git merge --no-commit <branch>; does commit Michael Dressel
2007-12-13 21:19 ` Alex Riesen
2007-12-13 21:23 ` Alex Riesen [this message]
2007-12-13 21:28 ` Michael Dressel
2007-12-14 7:49 ` Alex Riesen
2007-12-15 18:14 ` Michael Dressel
2007-12-15 18:26 ` Björn Steinbrink
2007-12-15 19:18 ` Jakub Narebski
2007-12-15 20:22 ` Michael Dressel
2007-12-15 20:57 ` Jakub Narebski
2007-12-15 21:15 ` Michael Dressel
2007-12-15 19:37 ` Alex Riesen
2007-12-15 20:33 ` Michael Dressel
2007-12-16 10:53 ` Alex Riesen
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=81b0412b0712131323p7cbba402hbfe8105eb356bdc2@mail.gmail.com \
--to=raa.lkml@gmail.com \
--cc=MichaelTiloDressel@t-online.de \
--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).