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

Fwd: Unknown option for merge-recursive: -X'diff-algorithm=patience'

From
Matwey V. Kornilov <matwey.kornilov@gmail.com>
Date
Jan 1, 2018, 11:28 UTC
Message-ID
<CAJs94Eakp6kaD=+imH2cZdB-=2NCBJNu0Rt=MmRtWiM60QGBSA@mail.gmail.com>
In-Reply-To
<9e4ffb63-59de-a020-fee8-6cefae3b3dda@gmail.com>
Hello,

I am running git 2.15.1 and facing the following issue with linux kernel tree.

# git checkout v3.8 # git branch abc-3.8 # git checkout v3.9 # git branch abc-3.9 # git checkout abc-3.8

Introduce new commit on top of abc-3.8. Here, I edit README.

# vim README # git commit -a -v [abc-3.8 4bf088b5d341] Hello world

Then I try to rebase abc-3.9 on top of abc-3.8 as the following:

# git rebase --preserve-merges -s recursive -Xdiff-algorithm=patience --onto abc-3.8 v3.8 abc-3.9

And then I see:

fatal: Unknown option for merge-recursive: -X'diff-algorithm=patience' Error redoing merge e84cf5d0fd53badf3a93c790e280cc92a69ed999

Attached here is GIT_TRACE=1 output.
-- 
With best regards,
Matwey V. Kornilov
Next: Matwey V. Kornilov
Message 1 of 5 in “Fwd: Unknown option for merge-recursive: -X'diff-algorithm=patience'”
  1. Matwey V. KornilovJan 1, 2018
  2. Matwey V. KornilovJan 4, 2018
  3. Junio C HamanoJan 4, 2018
  4. Matwey V. KornilovJan 4, 2018
  5. Johannes SchindelinJan 4, 2018

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.