From: Jonathan Nieder <jrnieder@gmail.com>
To: Mihail Atanassov <m.atanassov92@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Documentation/git-bisect.txt: add --no-ff to merge command
Date: Mon, 28 Oct 2019 15:24:05 -0700 [thread overview]
Message-ID: <20191028222405.GE12487@google.com> (raw)
In-Reply-To: <CALs020KFKOp4mFnY_2Mg5_H8Jc6PPV56O=1S66mriZA+XWd1Hg@mail.gmail.com>
Hi,
Mihail Atanassov wrote:
> Thanks for the quick turnaround! And apologies in advance for the delayed
> and potentially mangled response, I can't get into my gmail account from
> a sensible MUA...
Interesting. https://support.google.com/mail/thread/11736136 tells me
there's an issue with Kmail's oauth support. You might want to get in
touch with the Kmail authors, or, as a fallback, use an application
specific password or other mail client.
[...]
> On Sat, 26 Oct 2019 at 03:26, Jonathan Nieder <jrnieder@gmail.com> wrote:
>> Hmm. I think the comment might put a bit too much emphasis on the
>> "how" instead of the "why".
[...]
>> So I'd be tempted to leave the comment ending with "and then attempt a
>> build".
>
> Fair point, I actually did spend a bit of time on the fence between your
> suggestion and what I ultimately submitted. I ended up expanding on it
> precisely because the '--no-ff' seems a bit arbitrary to the casual observer
> and requires cross-referencing other documentation (which is how I figured
> out I ought to produce this patch :)).
>
> I can't think of any wording that would be any better, so I'll push a v2 with
> no comment changes, and leave it to the reader's curiosity (or lack thereof).
Thanks, that sounds good to me.
As an orthogonal point, I wonder whether we can start the multi-step
migration of making --no-commit imply --no-ff by default:
1. Act as --ff when --no-commit is passed without --ff or --no-ff
(the state today)
2. Warn when performing a fast-forward merge and --no-commit was
passed without --ff or --no-ff
3. Error out instead of performing a fast-forward merge when
--no-commit is passed without --ff or --no-ff
4. Warn and refuse to perform a fast-forward merge when --no-commit
is passed without --ff or --no-ff
5. Refuse to perform a fast-forward merge with --no-commit is passed
without --ff or --no-ff, just as though --no-ff were passed.
(A config setting could allow people to get the futuristic behavior
early. And it might be possible to skip some steps. :))
[...]
>>> -if git merge --no-commit hot-fix &&
>>> +if git merge --no-commit --no-ff hot-fix &&
>>
>> Good.
This part still looks like a good change to me. :)
Sincerely,
Jonathan
next prev parent reply other threads:[~2019-10-28 22:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-25 22:20 [PATCH] Documentation/git-bisect.txt: add --no-ff to merge command Mihail Atanassov
2019-10-26 2:26 ` Jonathan Nieder
[not found] ` <CALs020+0E=7wy-N46BRLrBcKmMSTpcMyZ9WybmgTzb60aCo5PQ@mail.gmail.com>
2019-10-28 22:10 ` Mihail Atanassov
2019-10-28 22:24 ` Jonathan Nieder [this message]
2019-10-29 2:24 ` Junio C Hamano
2019-10-29 3:25 ` Junio C Hamano
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=20191028222405.GE12487@google.com \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=m.atanassov92@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).