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

Bug report

From
ADAlastair Douglas <alastair.douglas@gmail.com>
Date
Oct 3, 2022, 15:28 UTC
Message-ID
<CADTs3HEn8JQzfWGP-rq_BBLvwGD163=c2i_7vFK17g+wAVec+Q@mail.gmail.com>

I have found no solution to the issue below. Apologies if it has already been addressed.

What did you do before the bug happened? (Steps to reproduce your issue)
Have an existing git config with rebase = preserve
What did you expect to happen? (Expected behaviour)

Merges to be preserved when rebasing, without a warning about an option I am not using.

What happened instead? (Actual behaviour)
I received a warning as though I had used the option on the command line:

warning: git rebase --preserve-merges is deprecated. Use --rebase-merges instead.

I didn't do that, so I can't follow the advice. There appears to be no alternative config setting for the new option.

What's different between what you expected and what actually happened?

I expected rebase=preserve to now use --rebase-merges instead of --preserve-merges, or for a new config setting to be made available to use --rebase-merges. Ideally the first, because the semantics are clear.

Anything else you want to add:

Please review the rest of the bug report below. You can delete any lines you don't wish to share.

[System Info] git version: git version 2.34.1 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh uname: Linux 5.15.0-47-generic #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 x86_64 compiler info: gnuc: 11.2 libc info: glibc: 2.35 $SHELL (typically, interactive shell): /usr/bin/zsh

[Enabled Hooks] not run from a git repository - no hooks to show

Next: Junio C Hamano
Message 1 of 5 in “Bug report”
  1. Alastair DouglasOct 3, 2022
  2. Junio C HamanoOct 3, 2022
  3. Alastair DouglasOct 4, 2022
  4. Philip OakleyOct 4, 2022
  5. Junio C HamanoOct 5, 2022

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.