On Mi, 12 Sep 2018, Igor Forca wrote:

> Hi,
> I created two identical files a.txt with content:
> aaa
> 
> and b.txt with content:
> bbb
> 
> I have downloaded 
> https://github.com/vim/vim-win32-installer/releases/download/v8.1.0369/gvim_8.1.0369_x64.zip
> so latest master and installed on Windows 7.
> 
> Then I opened Command Prompt and:
> c:\programs\vim\vim81\gvim -u NONE
> 
> In gVim I did:
> :cd C:\myfolder
> :e a.txt
> :vert diffsp b.txt
> 
> and I get an error:
> E959: Invalid diff format.
> 
> Pressing Enter and diff does not work.
> 
> I reverted gVim back to 8.1.0301 and diff works fine.
> 
> Any idea what is wrong? Where there some changes effecting diff?
> I can ping-pong the version when this first appears, but it would take some 
> time,
> so I would like to know if this is already known problem.

This looks like Vim did not recognize the diff output. Since Patch 
8.1.360 it comes with the xdiff library and should be able to parse 
context diffs (as well as the old ed style diffs).

However from the error message it looks like Vim does not recognize the 
diff returned by the internal diff. Not sure what happened here. A 
workaround is to use the old external diff `:set diffopt-=internal`


Mit freundlichen Grüßen
Christian
-- 
Nationen, die man unterworfen hat, muß man entweder glücklich machen
oder vernichten.
                -- Niccolò Machiavelli

-- 
-- 
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