From: Jonathan Nieder <jrnieder@gmail.com>
To: Mihail Atanassov <m.atanassov92@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH v2] Documentation/git-bisect.txt: add --no-ff to merge command
Date: Mon, 28 Oct 2019 16:54:26 -0700 [thread overview]
Message-ID: <20191028235426.GF12487@google.com> (raw)
In-Reply-To: <20191028220122.21449-1-m.atanassov92@gmail.com>
Mihail Atanassov wrote:
> The hotfix application example uses `git merge --no-commit` to apply
> temporary changes to the working tree during a bisect operation. In some
> situations this can be a fast-forward and `merge` will apply the hotfix
> branch's commits regardless of `--no-commit` (as documented in the `git
> merge` manual).
>
> In the pathological case this will make a `git bisect run` invocation
> loop indefinitely between the first bisect step and the fast-forwarded
> post-merge HEAD.
>
> Add `--no-ff` to the merge command to avoid this issue.
Makes sense.
> Changes since v1:
> - removed comment change
This kind of note, that doesn't need to be recorded in the Git commit
history, should go after the "---" marker. See [1]:
You often want to add additional explanation about the patch, other
than the commit message itself. Place such "cover letter" material
between the three-dash line and the diffstat. For patches requiring
multiple iterations of review and discussion, an explanation of
changes between each iteration can be kept in Git-notes and inserted
automatically following the three-dash line via `git format-patch
--notes`.
> Signed-off-by: Mihail Atanassov <m.atanassov92@gmail.com>
> ---
> Documentation/git-bisect.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Except for that one nit,
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Thanks.
[1] https://www.kernel.org/pub/software/scm/git/docs/SubmittingPatches.html#send-patches
next prev parent reply other threads:[~2019-10-28 23:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 22:01 [PATCH v2] Documentation/git-bisect.txt: add --no-ff to merge command Mihail Atanassov
2019-10-28 23:54 ` Jonathan Nieder [this message]
2019-10-29 2:28 ` 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=20191028235426.GF12487@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.