On Di, 30 Okt 2018, Bram Moolenaar wrote:

> This looks like a bug.  Might be in xdiff or how Vim passes the text to
> xdiff.

It is the second. My original xdiff implementation that worked on files, 
does not show that behaviour (also, I believe gits diff algorithm 
explicitly routes everything through xdiff if --text argument is given). 

I looked into diff_write_buffer(), but cannot find anything suspicious. 
Could it be an encoding issue? Or perhaps some NULs in the input? I am 
not sure...

Best,
Christian
-- 
Was nicht wert ist, gesagt zu werden, das singt man.
                -- Pierre Augustin Baron de Beaumarchais

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui