On Mi, 12 Sep 2018, Igor Forca wrote:

> Additional test as Christian suggested.
> I did:
> 1. Started gVim with
> c:\programs\vim\vim81\gvim -u NONE -V20c:\aaa\vim.log
> 
> 2. Typed in command:
> :set diffopt-=internal
> 
> 3. Repeated the steps from first post and getting the same error message.
> 
> See attachment.
> 

> "b.txt" 
> "b.txt" 1 line, 5 characters
> Calling shell to execute: "diff -a 
> C:\Users\igor\AppData\Local\Temp\VIoB011.tmp 
> C:\Users\igor\AppData\Local\Temp\VInB012.tmp 
> >C:\Users\igor\AppData\Local\Temp\VIdB013.tmp 2>&1"
> Calling shell to execute: "diff -a --binary 
> C:\Users\igor\AppData\Local\Temp\VIoB011.tmp 
> C:\Users\igor\AppData\Local\Temp\VInB012.tmp 
> >C:\Users\igor\AppData\Local\Temp\VIdB013.tmp 2>&1"
> Calling shell to execute: "diff -a --binary 
> C:\Users\igor\AppData\Local\Temp\VIoB011.tmp 
> C:\Users\igor\AppData\Local\Temp\VInB012.tmp 
> >C:\Users\igor\AppData\Local\Temp\VIdB013.tmp 2>&1"
> E959: Invalid diff format.

Do you perhaps have a custom 'diffexpr'?
>From your log it is using the external diff. In that case, try enabling the 
internal diff ( :set diffopt+=internal diffexpr=). However this should 
be the default. 


What is the output of diff -a --binary a.txt b.txt?


Best,
Christian
-- 
Geschichtsschreibung ist Planung für die Vergangenheit.
                -- Thornton Niven Wilder

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