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

Re: [PATCH 1/1] rebase: deprecate --preserve-merges

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 11, 2019, 19:33 UTC
Message-ID
<nycvar.QRO.7.76.6.1903112032540.41@tvgsbejvaqbjf.bet>
In-Reply-To
<CAPig+cSTtn6ON3rMeno+0ikOER6gq2bF=ktC-ehcaCo1pMd3MQ@mail.gmail.com>
Hi Eric,
On Thu, 7 Mar 2019, Eric Sunshine wrote:
Show 14 quoted lines
> On Thu, Mar 7, 2019 at 6:11 AM Johannes Schindelin via GitGitGadget
> <gitgitgadget@gmail.com> wrote:
> > We have something much better now: --rebase-merges (which is a
> > complete re-design --preserve-merges, with a lot of issues fixed such as
> > the inability to reorder commits with --preserve-merges).
> >
> > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> > ---
> > diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
> > @@ -427,9 +427,10 @@ See also REBASING MERGES and INCOMPATIBLE OPTIONS below.
> >  --preserve-merges::
> > +       [DEPRECATED: use --rebase-merges instead] Recreate merge commits
> 
> s/--rebase-merges/`&`/
Good point!

Thanks, Dscho

Show 5 quoted lines
> 
> > +       instead of flattening the history by replaying commits a merge commit
> > +       introduces. Merge conflict resolutions or manual amendments to merge
> > +       commits are not preserved.
> 
Previous: Eric SunshineNext: Johannes Schindelin via GitGitGadget
Message 6 of 10 in “Deprecate git rebase --preserve-merges”
  1. 0/1 Deprecate git rebase --preserve-mergesJohannes Schindelin via GitGitGadget, Mar 7, 2019
  2. 1/1 rebase: deprecate --preserve-mergesJohannes Schindelin via GitGitGadget, Mar 7, 2019
  3. Phillip WoodMar 7, 2019
  4. Johannes SchindelinMar 11, 2019
  5. Eric SunshineMar 7, 2019
  6. Johannes SchindelinMar 11, 2019
  7. 0/1 Deprecate git rebase --preserve-mergesJohannes Schindelin via GitGitGadget, Mar 11, 2019
  8. 1/1 rebase: deprecate --preserve-mergesJohannes Schindelin via GitGitGadget, Mar 11, 2019
  9. Ævar Arnfjörð BjarmasonMay 2, 2019
  10. Johannes SchindelinMay 9, 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.