git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] doc: improve readability of --rebase-merges in git-rebase

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 11, 2019, 08:49 UTC
Message-ID
<nycvar.QRO.7.76.6.1911110948270.46@tvgsbejvaqbjf.bet>
In-Reply-To
<20191110095942.GB6071@a.local>
Hi Naveen,
On Sun, 10 Nov 2019, Naveen Nathan wrote:
Show 24 quoted lines
> When --rebase-merges was introduced in 427c3bd28a the sentence
> describing the difference between --rebase-merges and --preserve-merges
> is a little unclear and difficult to parse. This patch improves readability
> while retaining original meaning.
>
> Signed-off-by: Naveen Nathan <naveen@lastninja.net>
> ---
>  Documentation/git-rebase.txt | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
> index 639a4179d1..6a826b47bd 100644
> --- a/Documentation/git-rebase.txt
> +++ b/Documentation/git-rebase.txt
> @@ -442,9 +442,9 @@ i.e. commits that would be excluded by linkgit:git-log[1]'s
>  the `rebase-cousins` mode is turned on, such commits are instead rebased
>  onto `<upstream>` (or `<onto>`, if specified).
>  +
> -The `--rebase-merges` mode is similar in spirit to the deprecated
> -`--preserve-merges`, but in contrast to that option works well in interactive
> -rebases: commits can be reordered, inserted and dropped at will.
> +The `--rebase-merges` mode is similar in spirit to `--preserve-merges`
> +(deprecated) but actually works with interactive rebases, where commits
> +can be reordered, inserted and dropped at will.
I like it!

ACK, Dscho

Show 8 quoted lines
>  +
>  It is currently only possible to recreate the merge commits using the
>  `recursive` merge strategy; Different merge strategies can be used only via
> --
> 2.21.0
>
>
>
Previous: Naveen NathanNext: Junio C Hamano
Message 2 of 6 in “doc: improve readability of --rebase-merges in git-rebase”
  1. doc: improve readability of --rebase-merges in git-rebaseNaveen Nathan, Nov 10, 2019
  2. Johannes SchindelinNov 11, 2019
  3. Junio C HamanoNov 11, 2019
  4. Naveen NathanNov 11, 2019
  5. doc: improve readability of --rebase-merges in git-rebaseNaveen Nathan, Nov 11, 2019
  6. Junio C HamanoNov 12, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.