2018-01-04 21:57 GMT+03:00 Junio C Hamano <gitster@xxxxxxxxx>: > "Matwey V. Kornilov" <matwey.kornilov@xxxxxxxxx> writes: > >> It seems there is some issue with double escaping: >> ... >>> # 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' > > The string looks like a result of a shell script that quotes any > end-user controlled string before incorporating into a string to be > eval-ed, or something like that. Is this a recent regression? Does > a bit older version of Git, like 2.12 or older, behave differently? > I've just checked, 2.12.4 has the same behaviour. By the way, can you reproduce this at all? -- With best regards, Matwey V. Kornilov