From: Christian Couder <chriscool@tuxfamily.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jonathan Nieder <jrnieder@gmail.com>,
Paolo Bonzini <bonzini@gnu.org>,
Marc Branchaud <marcnarc@xiplink.com>,
git@vger.kernel.org
Subject: Re: cc/cherry-pick-ff (Re: What's cooking in git.git (Mar 2010, #04; Tue, 16))
Date: Thu, 18 Mar 2010 01:38:56 +0100 [thread overview]
Message-ID: <201003180138.56529.chriscool@tuxfamily.org> (raw)
In-Reply-To: <7vwrxaubjy.fsf@alter.siamese.dyndns.org>
On Wednesday 17 March 2010 18:01:53 Junio C Hamano wrote:
> Jonathan Nieder <jrnieder@gmail.com> writes:
> > For what it’s worth, I am not convinced about the --no-ff option. I do
> > not think --ff ever will be the default: for an operation that amounts
> > to applying a patch and making a new commit, it just feels wrong.
>
> Same here ;-) and because of that, --no-ff as an undocumented feature
> feels doubly wrong to me. If some scripts use it, people would wonder
> what that no-op option is doing there. Perhaps we should discard the bits
> about --no-ff to make it more clear that --ff is an oddball case that is
> meant only for supporting what "rebase-i" (and other tools that reinvent
> and enhance it) does.
My opinion is that if we implement "git cherry-pick A..B", and if many people
start to use it, then perhaps it will make sense for --ff to become the
default. Because people may not want to have to remember using --ff to avoid
many spurious commits to be created.
And having --ff and --no-ff makes "git cherry-pick" consistent with "git merge"
which has both. And --ff is the default for "git merge", so consistency will be
an argument to make it the default for "git cherry-pick" if "git cherry-pick
A..B" is used a lot.
Best regards,
Christian.
next prev parent reply other threads:[~2010-03-18 0:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-17 6:37 What's cooking in git.git (Mar 2010, #04; Tue, 16) Junio C Hamano
2010-03-17 9:52 ` cc/cherry-pick-ff (Re: What's cooking in git.git (Mar 2010, #04; Tue, 16)) Jonathan Nieder
2010-03-17 17:01 ` Junio C Hamano
2010-03-18 0:38 ` Christian Couder [this message]
2010-03-18 7:14 ` Paolo Bonzini
2010-03-20 14:20 ` Junio C Hamano
2010-03-20 22:09 ` cc/cherry-pick-ff Jonathan Nieder
2010-03-22 3:03 ` cc/cherry-pick-ff (Re: What's cooking in git.git (Mar 2010, #04; Tue, 16)) Christian Couder
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=201003180138.56529.chriscool@tuxfamily.org \
--to=chriscool@tuxfamily.org \
--cc=bonzini@gnu.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jrnieder@gmail.com \
--cc=marcnarc@xiplink.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).