From: "Lars Hjemli" <lh@elementstorage.no>
To: colin@horizon.com
Cc: hvammen@gmail.com, git@vger.kernel.org
Subject: Re: [RFC/PATCH] Fast forward strategies allow, never, and only
Date: Tue, 11 Mar 2008 11:09:22 +0100 [thread overview]
Message-ID: <8c5c35580803110309q2474c42q4758d618fca3cea@mail.gmail.com> (raw)
In-Reply-To: <20080311093553.23191.qmail@science.horizon.com>
On Tue, Mar 11, 2008 at 10:35 AM, <colin@horizon.com> wrote:
> > What's lacking is "why this is a good idea".
>
> Seconded. A long time ago (and I'm too lazy to find a link), Linus
> explained why disabling fast-forward merges was almost always a Bad Idea,
> and nobody has come up with a good reason why you'd want one since.
The reason for --no-ff was twofold:
* theoretical: when you want to record the integration of a topic branch
* practical: when merging git-svn branches in git, git-svn dcommit
would update the wrong svn 'branch' if the merge was a fast-forward
I originally needed --no-ff due to the 'practical' aspects (I used
git-svn when working with the day-job svn repository), but now that
we've switched to git (Hurray!) I'm still using --no-ff for the
'theoretical' reason: our topic branches tend to be named after
bugtracker tickets, so by recording the merge of such a branch we get
a very explicit note in our git log about when each ticket was
resolved.
YMMV.
--
larsh
next prev parent reply other threads:[~2008-03-11 10:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 9:35 [RFC/PATCH] Fast forward strategies allow, never, and only colin
2008-03-11 10:09 ` Lars Hjemli [this message]
2008-03-11 12:24 ` Bruce Stephens
2008-03-11 12:33 ` Bruce Stephens
2008-03-12 1:57 ` Junio C Hamano
-- strict thread matches above, loose matches on Subject: below --
2008-03-11 2:59 Sverre Hvammen Johansen
2008-03-11 3:18 ` Sverre Hvammen Johansen
2008-03-11 5:17 ` Ping Yin
2008-03-11 6:19 ` Junio C Hamano
2008-03-12 5:46 ` Sverre Hvammen Johansen
2008-03-16 6:44 ` Sverre Hvammen Johansen
2008-03-14 2:35 ` Sverre Hvammen Johansen
2008-03-11 9:15 ` Jakub Narebski
2008-03-12 4:24 ` Sverre Hvammen Johansen
2008-03-12 4:50 ` Junio C Hamano
2008-03-12 5:51 ` 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=8c5c35580803110309q2474c42q4758d618fca3cea@mail.gmail.com \
--to=lh@elementstorage.no \
--cc=colin@horizon.com \
--cc=git@vger.kernel.org \
--cc=hvammen@gmail.com \
/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).